If you're experiencing this issue, make sure you are providing the `timeout`
option to your geolocation call, e.g. `getCurrentPosition(successFn, errorFn, {
timeout: 10000 });`
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" 😉
[ Full content available at:
https://github.com/apache/cordova-plugin-geolocation/issues/114 ]
This message was relayed via gitbox.apache.org for [email protected]