on-internet
← Community

Get working Ionic + ngCordova + background geolocation

Stack Overflow ·

Goal of the app: get geolocation on each move and log location either when app is in foreground and background. I've tried so many code and combination but I can't manage to have it working (2 days from now...). The classic geolocation (getCurrentPosition) is working fine but when we close the app the background geolocation is launched but nothing happen... Function "callbackFn" is never fired. I'm testing on IOS with xcode > Capabilities Audio & location activated for background activity. I also made working the jQuery sample example given in plugin so I saw it working but never with ionic/an

Comments

Sign in or sign up to comment and upvote.

No comments yet.