background_locator_fixed
background_locator_fixed copied to clipboard
A Flutter plugin for updating location in background.
hy, i have a project with multiple screen and in route flow many screen gets replaced . So i want to know in which page i should implement background locator.
i try on three devices. vivo, android 11 , flutter 3.3.0 , while app is killed, the notification was removed, and don't report log. Honor, android 12, flutter 3.3.0, the...
The application is working as expected in debug mode no issues are found. But when the ios app is running on release mode, The callback is not calling from the...
I'm wondering whether it's necessary to perform any of the operations on `IsolateNameServer` and `ReceivePort` as shown by the wiki (e.g. registering the port using `IsolateNameServer.registerPortWithName` and sending data to...
fix for [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:untitled/location_callback_handler.dart' not found. By adding @pragma('vm:entry-point') before a class/ function, we let compiler know that the native code can access it
Error: E/flutter (14972): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:tejumasala_sales/location_callback_handler.dart' not found.
Hi, is it possible to detect whether the application is terminated or not in the static callback?
When building I got this error  I got this fixed by changing Any to Any? in this codes below LocationParserUtil.kt (11,74) LocationParserUtil.kt (35,81) LocationUpdateListener (6, 50) IsolateHolderService (296, 59)
``` e: C:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator_2-2.0.5\android\src\main\kotlin\yukams\app\background_locator_2\provider\LocationParserUtil.kt: (21, 20): Type mismatch: inferred type is String? but Any was expected FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':background_locator_2:compileDebugKotlin'....
I my app, user can turn on/off background location through setting using a toggle. When the toggle switch to off, I called `await BackgroundLocator.unRegisterLocationUpdate();` When the toggle switch to on,...