sithwarrior commented on issue #184: Plugin doesn't work when wrapped inside a 
service on iOS
URL: 
https://github.com/apache/cordova-plugin-geolocation/issues/184#issuecomment-571122713
 
 
   I would assume this is a timing issue.
   
   Your service is probably starting, before the plugin is ready, and should be 
wrapped inside of platform ready. If you are using Ionic, you could use the 
platform.ready [https://ionicframework.com/docs/angular/platform](url)
   
   if you are using basic cordova, you could use cordova deviceready
   
[https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/index.html](url)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to