You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/06 12:35:33 UTC

[GitHub] [cordova-plugin-geolocation] sithwarrior commented on issue #184: Plugin doesn't work when wrapped inside a service on iOS

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org