Habil Ganbarli
Habil Ganbarli
Experiencing same issue
> This issue exists all version of background locator. Why this issue has not resolved yet? There is an[ opened pull request](https://github.com/rekabhq/background_locator/pull/292) regarding this. However, the issue persists.
> I think you can't use lambda callback, use global or static callback instead Yes this is the, exact reason for getting this error
Hi, you just need to declare a static function like below: ``` static void backgroundLocationCallBack(LocationDto location) { // do smth with location data } ``` Then pass it as an...
> Adding `FlutterInjector.instance().flutterLoader().ensureInitializationComplete(context, arrayOf())` has helped me. Hi, where should we add this line in our app?
Hi, @christocracy , thanks for the quick response. I have provided the logs at the bottom. However, there are a few important aspects: - The issue seems to happen on...
Additionally, there are similar questions related to this error and the plugin in StackOverflow: - https://stackoverflow.com/questions/72796553/flutter-background-geolocation-package-is-not-working - https://stackoverflow.com/questions/72797663/setting-airplane-mode-on-has-moved-from-android-provider-settings-system-to-andr
> You can manually trigger the plugin into the “moving” state be executing .changePace(true) I do exactly the same thing
On previous version, it is easily testable on Android with` .changePace(true)`. However, not in this version Also the logs that were retrieved are achieved in by manually changing the "moving...