cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblotsky <>
Subject [GitHub] cordova-plugin-geolocation pull request: CB-10574: MobileSpec can'...
Date Fri, 12 Feb 2016 01:29:07 GMT
Github user dblotsky commented on the pull request:
    It looks like reusing the `Geolocator` object was done *by design*, as is suggested by
the naming of `ensureLocator`. Also it is assumed to be a singleton, so creating a new one
on every call to `getLocation` will lead to incorrect behaviour.
    What exactly causes the crash when the `loc` object is reused? Does `addEventListener`
not allow for more than one listener?

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message