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 2020/03/02 10:21:06 UTC

[GitHub] [cordova-plugin-geolocation] piernik opened a new issue #190: Error with permissions when app starts for the first time

piernik opened a new issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190
 
 
   I'm using `cordova-plugin-geolocation@4.0.2` with `@ionic/angular@5.0.4` and `@ionic-native/geolocation@5.21.6`. 
   
   When device is ready I ask for GPS localization:
   `this.platform.ready().then(() => { this.geolocation.watchPosition({});}`
   
   When I install android app for the first time it asks me for localization permissions but then in background I 'm getting error with no permissions.
   When I grant permissions I'm still not getting position - so I press `refresh` button which triggers `this.geolocation.watchPosition({});` once again but now I'm getting `Timout` error.
   I have to close app and start it once again.
   Is it a bug? Is there a solution?
   

----------------------------------------------------------------
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.
 
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


[GitHub] [cordova-plugin-geolocation] piernik commented on issue #190: Error with permissions when app starts for the first time

Posted by GitBox <gi...@apache.org>.
piernik commented on issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190#issuecomment-605805992
 
 
   Android@7

----------------------------------------------------------------
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.
 
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


[GitHub] [cordova-plugin-geolocation] breautek commented on issue #190: Error with permissions when app starts for the first time

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190#issuecomment-606026702
 
 
   > Android@7
   
   `cordova-android@7`? or Android OS 7?

----------------------------------------------------------------
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.
 
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


[GitHub] [cordova-plugin-geolocation] breautek commented on issue #190: Error with permissions when app starts for the first time

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190#issuecomment-605744307
 
 
   What platform(s) does this occur on?

----------------------------------------------------------------
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.
 
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


[GitHub] [cordova-plugin-geolocation] piernik commented on issue #190: Error with permissions when app starts for the first time

Posted by GitBox <gi...@apache.org>.
piernik commented on issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190#issuecomment-607221569
 
 
   cordova-android@7

----------------------------------------------------------------
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.
 
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


[GitHub] [cordova-plugin-geolocation] piernik commented on issue #190: Error with permissions when app starts for the first time

Posted by GitBox <gi...@apache.org>.
piernik commented on issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190#issuecomment-597479335
 
 
   I solved it that way. But it is bug in my opinion

----------------------------------------------------------------
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.
 
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


[GitHub] [cordova-plugin-geolocation] Maqsyo commented on issue #190: Error with permissions when app starts for the first time

Posted by GitBox <gi...@apache.org>.
Maqsyo commented on issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190#issuecomment-597004133
 
 
   Try to first get the current position (geolocation.getCurrentPosition(onSuccess, onError)and on success create the watcher.
   Hadn't problems with that

----------------------------------------------------------------
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.
 
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


[GitHub] [cordova-plugin-geolocation] Maqsyo edited a comment on issue #190: Error with permissions when app starts for the first time

Posted by GitBox <gi...@apache.org>.
Maqsyo edited a comment on issue #190: Error with permissions when app starts for the first time
URL: https://github.com/apache/cordova-plugin-geolocation/issues/190#issuecomment-597004133
 
 
   Try to first get the current position (`geolocation.getCurrentPosition(onSuccess, onError)`)and on success create the watcher.
   Hadn't problems with that

----------------------------------------------------------------
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.
 
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