Custom filtering logic

This commit is contained in:
Anton Tananaev 2025-06-16 22:43:21 -07:00
parent 00599d7b1e
commit 5226e4dd90
6 changed files with 136 additions and 12 deletions

View file

@ -30,7 +30,6 @@ class _QuickActionsInitializerState extends State<QuickActionsInitializer> {
case 'sos':
try {
await bg.BackgroundGeolocation.getCurrentPosition(samples: 1, persist: true, extras: {'alarm': 'sos'});
await bg.BackgroundGeolocation.sync();
} catch (error) {
developer.log('Failed to send alert', error: error);
}