You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/12/12 13:10:24 UTC

[GitHub] eftas-apps opened a new issue #134: Android app crashes while watching for location updates when app-based permission to access location is revoked.

eftas-apps opened a new issue #134: Android app crashes while watching for location updates when app-based permission to access location is revoked.
URL: https://github.com/apache/cordova-plugin-geolocation/issues/134
 
 
   The following issue occurs on Android v6.0 or higher in any app with `cordova-plugin-geolocation`:
   
   1) The app is started for the fist time and the user grants access to device's location.
   2) In the code a geolocation watch is started via
   `navigator.geolocation.watchPosition(geolocationSuccess, geolocationError, geolocationOptions);`
   2) While the watch is running and receiving location updates the user revokes app permissions to access the device's location in Android settings.
   4) The app immediately crashes without calling geolocationError callback or throwing any other error notice.
   
   Cordova platform: android 7.1.1
   `cordova-plugin-geolocation` version: 4.0.1
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org