diff --git a/src/hooks/useStartBackgroundLocationUpdates.ts b/src/hooks/useStartBackgroundLocationUpdates.ts index 6821c4f0b..c802c290c 100644 --- a/src/hooks/useStartBackgroundLocationUpdates.ts +++ b/src/hooks/useStartBackgroundLocationUpdates.ts @@ -22,6 +22,7 @@ export const useStartBackgroundLocationUpdates = () => { await Location.startLocationUpdatesAsync(locationTaskName, { accuracy: locationServiceAccuracy, + activityType: Location.ActivityType.OtherNavigation, foregroundService: { notificationTitle: translate('bgAlertTitle'), notificationBody: translate('bgAlertContent'),