You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/02/01 06:33:37 UTC
[GitHub] [cordova-plugin-geolocation] pirpy76 opened a new issue #245: Position error:application does not have sufficient geolocation permission
pirpy76 opened a new issue #245:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/245
Using Ionic :
- Cordova CLI 11.0.0
- Cordova Platform 9.1.0
- Ionic CLI : 5.4.16 (C:\PP\Ionic2020\node_modules\ionic)
Ionic Framework : @ionic/angular 6.0.4
@angular-devkit/build-angular : 13.0.4
@angular-devkit/schematics : 13.0.4
@angular/cli : 13.0.4
@ionic/angular-toolkit : 5.0.3
In a very simple app, in this example: https://www.positronx.io/ionic-cordova-geolocation-and-geocoder-tutorial-with-examples/
when I use "ionic serve" app in browser is ok, but when I launch it on my device, using "ionic cordova run android", I obtain "Position error:application does not have sufficient geolocation permission" even if I allow geolocation in app preferences.
So I can't obtain latitude and longitude. Any suggestion?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org