[GitHub] davidgovea commented on issue #114: Not working on Android devices

2018-09-14 Thread GitBox
davidgovea commented on issue #114: Not working on Android devices
URL: 
https://github.com/apache/cordova-plugin-geolocation/issues/114#issuecomment-421484013
 
 
   If you're experiencing this issue, make sure you are providing the `timeout` 
option to your geolocation call, e.g. `getCurrentPosition(successFn, errorFn, { 
timeout: 1 });`
   
   This way, failing devices can be handled in the same way as a user who 
declines location permissions (which your app should already do), instead of 
hanging.
   
   ---
   
   I would say it's an extremely good bet that this issue will be resolved, but 
perhaps not in the timescale that you would prefer. If the issue is highly 
urgent, I might suggest the following approaches for your consideration (ranked 
from helpful to not-so-helpful):
   
   1. Create a reproduction project as @janpio has suggested
   2. Invest some time into fixing/updating this free, open-source code
   3. Provide more testing anecdotes and +1's to this thread
   4. Find a different approach ("move on")
   5. Motivate the contributors by threatening (or even just _bluffing_) to 
"move on" 


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:
us...@infra.apache.org


With regards,
Apache Git Services

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



[GitHub] davidgovea commented on issue #114: Not working on Android devices

2018-09-11 Thread GitBox
davidgovea commented on issue #114: Not working on Android devices
URL: 
https://github.com/apache/cordova-plugin-geolocation/issues/114#issuecomment-420480600
 
 
   Working fine for me on 8.0, and 8.1 devices.
   
   However, I am experiencing intermittent timeout issues on **some** devices 
(which all happen to be Samsungs -- but not every samsung has issues).
   
   I suspect that it's a permission/system issue related to Samsung's mangling 
of android OS. Try opening google maps, acquiring position, and then try again. 
Obviously, this is not a fix, but I don't think the blame sits with this 
library.


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:
us...@infra.apache.org


With regards,
Apache Git Services

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