@pdj wrote:
I imported geolocation as below
import { Geolocation } from ‘@ionic-native/geolocation/ngx’;
ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you" npm install @ionic-native/geolocation
I installed it as above. but when I go to node_modules - @ionic/native folder - geolocation
but ngx folder is not shown.without using /ngx, Object(…) is not function error is shown…
anyone can tell me how to get ngx folder of geolocation ?
Posts: 1
Participants: 1