Error 1003 BackgroundGeolocation error
dmoczydlowski opened this issue · 0 comments
dmoczydlowski commented
Your Environment
- Plugin version: 3.0.6
- Platform: iOS
- OS version: 14.4
- Device manufacturer and model: iPhone 12 Pro
- Running in Simulator: No
- Cordova version (
cordova -v
): 9.0.0 - Cordova platform version (
cordova platform ls
): "cordova-ios": "5.0.1" - Plugin configuration options:
locationProvider: this.getProvider(BackgroundGeolocation), desiredAccuracy: BackgroundGeolocation.MEDIUM_ACCURACY, interval: 10000, fastestInterval: 10000, stationaryRadius: 0, distanceFilter: 0, stopOnStillActivity: false, startForeground: true, url: url, httpHeaders: { Authorization: authToken }, debug: false, stopOnTerminate: false, notificationTitle: await this.translator .get("BackgroundGeolocationTitle") .toPromise(), notificationText: await this.translator .get("BackgroundGeolocationText") .toPromise()
- Link to your project:
Context
Attempting to follow user location while app is open.
Expected Behavior
Plugin return user location.
Actual Behavior
The below error is thrown after 3 successful location returned, not found in docs:
[ERROR] BackgroundGeolocation error: {message: "The operation couldn’t be completed. (com.marianhello error 1003.)", code: 1003}
Possible Fix
Steps to Reproduce
Context
I've checked my app logs and it occurs quite often for my users on iOS.