Skip to content

Commit

Permalink
OtherNavigation復活
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyKitten committed Jul 28, 2024
1 parent 2ed7a52 commit 579b237
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useStartBackgroundLocationUpdates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const useStartBackgroundLocationUpdates = () => {

await Location.startLocationUpdatesAsync(locationTaskName, {
accuracy: locationServiceAccuracy,
activityType: Location.ActivityType.OtherNavigation,
foregroundService: {
notificationTitle: translate('bgAlertTitle'),
notificationBody: translate('bgAlertContent'),
Expand Down

0 comments on commit 579b237

Please sign in to comment.