Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background crashes on Android when the app stays in background #319

Open
Habil24 opened this issue Mar 31, 2022 · 3 comments
Open

Background crashes on Android when the app stays in background #319

Habil24 opened this issue Mar 31, 2022 · 3 comments

Comments

@Habil24
Copy link

Habil24 commented Mar 31, 2022

Hi, we are getting repetitive crashes in firebase analytics in our app with the error below. It does not happen on iOS,
however, it happens frequently on Android. The issue is hard to reproduce. Usually, after its state changes to the background
and a few hours pass (1.5-4 hours) the app crashes in the background. I would really appreciate any help or feedback about this issue because it exists for a couple of months on our app.


Fatal Exception: java.lang.UnsatisfiedLinkError
No implementation found for io.flutter.view.FlutterCallbackInformation io.flutter.embedding.engine.FlutterJNI.nativeLookupCallbackInformation(long) (tried Java_io_flutter_embedding_engine_FlutterJNI_nativeLookupCallbackInformation and Java_io_flutter_embedding_engine_FlutterJNI_nativeLookupCallbackInformation__J)
io.flutter.embedding.engine.FlutterJNI.nativeLookupCallbackInformation (FlutterJNI.java)
io.flutter.view.FlutterCallbackInformation.lookupCallbackInformation (FlutterCallbackInformation.java:28)
rekab.app.background_locator.IsolateHolderExtensionKt.startLocatorService (IsolateHolderExtension.kt:26)
rekab.app.background_locator.IsolateHolderService.onCreate (IsolateHolderService.kt:64)
android.app.ActivityThread.handleCreateService (ActivityThread.java:4936)
android.app.ActivityThread.access$1900 (ActivityThread.java:310)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:2296)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loopOnce (Looper.java:226)
@Habil24 Habil24 changed the title Crashes on Android when the app stays in background for a long time Crashes on Android when the app stays in background Mar 31, 2022
@Habil24 Habil24 changed the title Crashes on Android when the app stays in background Background crashes on Android when the app stays in background Mar 31, 2022
@saravananmnm
Copy link

This issue exists all version of background locator.
Why this issue has not resolved yet?

@Habil24
Copy link
Author

Habil24 commented Apr 3, 2022

This issue exists all version of background locator. Why this issue has not resolved yet?

There is an opened pull request regarding this. However, the issue persists.

@Yukams
Copy link

Yukams commented Apr 25, 2022

If someone still has the problem, you could try my fork, maybe it would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants