Closed bradseefeld closed 6 years ago
This happens if you call BackgroundGeolocation.ready()
prior to init'ing your app component (in angular). This was easy for us to do since we were calling .ready
in a constructor of something that was being injected into the app component. Strangely, this works fine on android, but fails on iOS. Delaying the .ready
call fixes the issue.
Your Environment
tns info
):Expected Behavior
Starts tracking on iOS
Actual Behavior
Does not track. Instead the .ready call results in the .catch being triggered. The error is
Steps to Reproduce
Context
Debug logs
I attempt to call
getLogs
in my catch, but this returns no log data.