Module has no exported member 'Location Accuracy'
Hello everyone,
I am getting error while importing LocationAccuracy from ionic native
Module has no exported member 'Location Accuracy'
I have already installed the plugin.
Is there any solution?
Can you share the code that is failing?
Following this code snippet from IONIC 2 native
import { LocationAccuracy } from 'ionic-native';
LocationAccuracy.canRequest().then((canRequest: boolean) => {
if(canRequest) { // the accuracy option will be ignored by iOS LocationAccuracy.request(LocaitonAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then( () => console.log('Request successful'), error => console.log('Error requesting location permissions', error) ); }
});
Can you remove the node_modules folder and: npm install? let me know if that fixed the issue
I have re-installed node_modules after removing previous one, but still no luck Error is same
This issue was moved to driftyco/ionic-native#625
Hello, thanks for opening an issue with us! Because this is an Ionic native related issue I have moved this issue to the appropriate repo. Thanks!