-
Notifications
You must be signed in to change notification settings - Fork 351
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
No implementation found for io.flutter.view.FlutterCallbackInformation #185
Comments
Hi @WilliamFB Please share some code; |
Did you set the callback in the |
I think so, like this? My version is at this point: |
You are pointing to the library source code, show the usage in your code. BackgroundLocator.registerLocationUpdate(LocationCallbackHandler.callback, |
What do you mean by the wrong moment? Are you running the example app? |
Sorry @mehdok, i didn't want to say "wrong time", let's forget it. I will show some information below; I am using bg_locator 1.2.2+1 and flutter 1.20.0; My implementation is like the example, but there are some differences. I will show the differences after the implementation; This is in my first screen Using the There are 2 differences:
|
I'm not sure if this is the problem, but we have to eliminate its possibility :) Your |
The callback is static, but anyway, i will separate the callback in a service. As soon as i know the results i tell you. Thanks!! |
While you are testing, it would be nice if you could test the example app to see if it's working for you or not, if the example app is working and your app doesn't, it would ease the debug process if you create a simple repository with your implementation; |
Same issue |
same issue |
Adding |
@mehdok Registration for location updates, where
Has anybody found the reason and solution or workaround? |
I got the same issue even the example app. This problem can be reproduced by rebooting the smart phone. |
Any updates? I'm completely not sure that my solution is right. Also have an idea to cover all LocatorService.startLocatorService() into try/catch block, but it looks like a crutch |
Same issue |
It worked for me Thanks. |
Hi, where should we add this line in our app? |
did you find where to add this line? |
I was using a very old version of the plugin, so i'm closing this issue. I recommend you take a look here: #340 |
I am getting the following error, any suggestion?
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)
at io.flutter.embedding.engine.FlutterJNI.nativeLookupCallbackInformation(FlutterJNI.java)
at io.flutter.view.FlutterCallbackInformation.lookupCallbackInformation(FlutterCallbackInformation.java:30)
at rekab.app.background_locator.LocatorService.startLocatorService(LocatorService.kt:81)
at rekab.app.background_locator.LocatorService.onCreate(LocatorService.kt:69)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3380)
at android.app.ActivityThread.-wrap4()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1711)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6548)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
The text was updated successfully, but these errors were encountered: