Github user sarangan12 commented on the pull request:
https://github.com/apache/cordova-plugin-geolocation/pull/69#issuecomment-183439690
@daserge I am not sure if removing the event listeners is a good idea. From
the user perspective, there is no reason for him to have only one event
listener. All of this boils down to one issue, reusing the 'loc' variable. With
the restriction that you cannot modify the properties when there are event
listeners on it, I do not see a good point in reusing it (in ensurelocator
function) I have created another PR to address that issue:
https://github.com/apache/cordova-plugin-geolocation/pull/70
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]