-
Notifications
You must be signed in to change notification settings - Fork 444
[Help Wanted]: backgroundGeolocation.ready() ios error #2526
Copy link
Copy link
Open
Description
Required Reading
- Confirmed
Plugin Version
4.18.17
Mobile operating-system(s)
- iOS
- Android
Device Manufacturer(s) and Model(s)
iphone
Device operating-systems(s)
ios 18.3
React Native / Expo version
No response
What do you require assistance about?
the config works fine on android but returns an error (0) for ios.
[Optional] Plugin Code and/or Config
In android this works fine, In ios we when we call BackgroundGeolocation.ready() function, it returns error of '0'
const params = {
reset: true,
desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
distanceFilter: 5,
interval: 2000,
fastestLocationUpdateInterval: 3000,
stopOnTerminate: false,
startOnBoot: true,
elasticityMultiplier: 2,
desiredOdometerAccuracy: 50,
foregroundService: true,
forceReloadOnHeartbeat: true,
preventSuspend: true,
batchSync: false,
enableHeadless: true,
backgroundPermissionRationale: {
title: "P****************ion",
message:
'In blah blah blah this isnt the problem you up.',
},
};[Optional] Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels