-
Notifications
You must be signed in to change notification settings - Fork 104
Description
Describe the bug
we encountered crash on certain Android device
V/BranchSDK( 9961): Branch instance is not created yet. Make sure you call getAutoInstance(Context).
D/AndroidRuntime( 9961): Shutting down VM
E/AndroidRuntime( 9961): FATAL EXCEPTION: main
E/AndroidRuntime( 9961): Process: aero.sita.lab.resmobileweb.android.mh.staging, PID: 9961
E/AndroidRuntime( 9961): java.lang.NullPointerException: Attempt to invoke virtual method 'void io.branch.referral.Branch.setRequestMetadata(java.lang.String, java.lang.String)' on a null object reference
E/AndroidRuntime( 9961): at br.com.rsmarques.flutter_branch_sdk.FlutterBranchSdkPlugin$9.run(FlutterBranchSdkPlugin.java:700)
E/AndroidRuntime( 9961): at android.os.Handler.handleCallback(Handler.java:995)
E/AndroidRuntime( 9961): at android.os.Handler.dispatchMessage(Handler.java:103)
E/AndroidRuntime( 9961): at android.os.Looper.loopOnce(Looper.java:248)
E/AndroidRuntime( 9961): at android.os.Looper.loop(Looper.java:338)
E/AndroidRuntime( 9961): at android.app.ActivityThread.main(ActivityThread.java:9067)
E/AndroidRuntime( 9961): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 9961): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
E/AndroidRuntime( 9961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
I/Process ( 9961): Sending signal. PID: 9961 SIG: 9
Lost connection to device.
the Dart compiler exited unexpectedly.
Steps to reproduce
- Update to flutter_branch_sdk 8.10.0
- Launch the compiled app
- Crash will happen
A clear and concise description of what you expected to happen.
No crash should happen
Plugin Version
8.10.0
Flutter Version
3.29.4
Android/iOS/Web
Android 14
Make and Model
Samsung Flip 5
Additional Information/Context
No response