cordova-plugin-geolocation
cordova-plugin-geolocation copied to clipboard
fix(iOS): #257
Platforms affected
iOS
Motivation and Context
fix #257
Description
Desynchronize isLocationServicesEnabled
As comment, this change might cause some problems because of run in thread that location manager is not created in. Especially, around this line (change updating location status and accuracy) are suspecious. But I have no idea that critical situation that incorrect behavior that caller JS application cannot (or should not) handle.
If there are some problems about above, I will close this PR. If there are no problem, I will remove TODO comment before you marge.
Testing
I did simple operation confirmation with simulator.
Checklist
- [ ] I've run the tests to see all new and existing tests pass
- [ ] I added automated test coverage as appropriate for this change
- [x] Commit is prefixed with
(platform)if this change only applies to one platform (e.g.(android)) - [x] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
- [x] I've updated the documentation if necessary