-
Notifications
You must be signed in to change notification settings - Fork 444
[Help Wanted]: Recommended configuration for continuous vehicle tracking on iOS #2534
Copy link
Copy link
Open
Description
Required Reading
- Confirmed
Plugin Version
^5.0.3
Mobile operating-system(s)
- iOS
- Android
Device Manufacturer(s) and Model(s)
iPhone 13, iPhone 17 Pro Max
Device operating-systems(s)
IOS 18, IOS 26
React Native / Expo version
0.76.9
What do you require assistance about?
Hi, we have recently integrated the plugin into our app for a continuous vehicle tracking use-case and would like to understand what the recommended configuration should be for this scenario.
First I want to say huge thanks to you for this plugin because it is works amazing for us.
Our Use Case:
Tracking moving vehicles in real-time
App should continue tracking in background and terminated states
Stability is more important than extremely high frequency updates
Is this configuration appropriate for continuous vehicle tracking on iOS?
Only one time we observed this crash on our logs:
EXC_BAD_ACCESS: Exception 1, Code 1
KERN_INVALID_ADDRESS at 0x400000000000bad0
[Optional] Plugin Code and/or Config
await BackgroundGeolocation.ready({
reset: true,
geolocation: {
desiredAccuracy: BackgroundGeolocation.DesiredAccuracy.Navigation,
distanceFilter: 10,
activityType: BackgroundGeolocation.ActivityType.AutomotiveNavigation,
stationaryRadius: 20,
stopTimeout: 3,
locationUpdateInterval: 5000,
fastestLocationUpdateInterval: 3000,
},
app: {
stopOnTerminate: false,
startOnBoot: true,
enableHeadless: true,
preventSuspend: true,
heartbeatInterval: 60,
notification: {
title: 'UWays',
text: 'Tracking your location',
},
},
logger: {
debug: __DEV__,
logLevel: __DEV__ ? BackgroundGeolocation.LogLevel.Verbose : 0,
},
});[Optional] Relevant log output
EXC_BAD_ACCESS
Exception 1, Code 1, Subcode 4611686018427435728 >
KERN_INVALID_ADDRESS at 0x400000000000bad0.Looking for your response thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels