diff --git a/lib/quick_actions.dart b/lib/quick_actions.dart index b17760c..f8d3bb4 100644 --- a/lib/quick_actions.dart +++ b/lib/quick_actions.dart @@ -27,7 +27,7 @@ class _QuickActionsInitializerState extends State { bg.BackgroundGeolocation.stop(); case 'sos': try { - await bg.BackgroundGeolocation.getCurrentPosition(samples: 1, extras: {'sos': true}); + await bg.BackgroundGeolocation.getCurrentPosition(samples: 1, extras: {'alarm': 'sos'}); await bg.BackgroundGeolocation.sync(); } catch (error) { developer.log('Failed to send alert', error: error);