-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Description
Required Reading
- Confirmed
Plugin Version
4.18.2
Mobile operating-system(s)
- iOS
- Android
Device Manufacturer(s) and Model(s)
iPhone 16
Device operating-systems(s)
iOS 26
What do you require assistance about?
We are using this package for geofencing only. Now we have one question
Can we run significant location change monitoring independently, while also using this package for geofencing, so that the app can be launched by either significant location updates via our integration or geofence events via this package?
Will this create any issues or impact?
[Optional] Plugin Code and/or Config
await _backgroundGeolocation.ready(
bg.Config(
notification: bg.Notification(
channelName: groupChannelName,
channelId: groupChannelId,
smallIcon: 'mipmap/ic_launcher',
title: TextConstants.notificationMainTitle,
priority: bg.Config.NOTIFICATION_PRIORITY_MIN,
),
locationAuthorizationAlert: {
'titleWhenNotEnabled': TextConstants.locationServicesDisabled,
'titleWhenOff': TextConstants.locationServicesDisabled,
'instructions': TextConstants.pleaseEnableLocationServices,
'cancelButton': TextConstants.cancel,
'settingsButton': TextConstants.settings,
},
autoSync: false,
persistMode: bg.Config.PERSIST_MODE_NONE,
geofenceModeHighAccuracy: true,
/// Enable it when debugging geofences
// debug: devToolEnabled,
debug: AppRunnerMode.instance.isDebugMode,
logLevel: bg.Config.LOG_LEVEL_VERBOSE,
geofenceProximityRadius: 2000,
maxRecordsToPersist: 0,
locationAuthorizationRequest: 'Always',
enableHeadless: true,
stopOnTerminate: false,
startOnBoot: true,
geofenceInitialTriggerEntry: true,
reset: true,
isMoving: true,
showsBackgroundLocationIndicator: false,
),
);
await _backgroundGeolocation.startGeofences();[Optional] Relevant log output
Metadata
Metadata
Assignees
Labels
No labels