BlinkID / blinkid-flutter

ID scanning plugins for cross-platform apps built with Flutter.
80 stars 23 forks source link

com.microblink.blinkid.secured.lllllIIIlI.llIIlIlIIl #61

Open VitalikShcherbyna opened 6 months ago

VitalikShcherbyna commented 6 months ago

Exception java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4037) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:4203) at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:103) at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2440) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loopOnce (Looper.java:226) at android.os.Looper.loop (Looper.java:313) at android.app.ActivityThread.main (ActivityThread.java:8641) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1133) Caused by java.lang.IllegalStateException: Application context has not been passed to the Microblink SDK. Please check whether you have set the license key for the Microblink SDK, where application context also has to be provided. at com.microblink.blinkid.secured.lllllIIIlI.llIIlIlIIl (line:39) at com.microblink.blinkid.intent.BaseIntentTransferable.loadFromIntent (line:3) at com.microblink.blinkid.uisettings.BaseBlinkIdUiSettings. (line:5) at com.microblink.blinkid.uisettings.BlinkIdUISettings. (line:2) at com.microblink.blinkid.activity.BlinkIdActivity.llIIlIlIIl (line:1) at com.microblink.blinkid.activity.BaseScanActivity.onCreate (line:1) at android.app.Activity.performCreate (Activity.java:8282) at android.app.Activity.performCreate (Activity.java:8262) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1329) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4011)

Flutter version 3.16.5 blinkid_flutter: 6.7.0

The license key is ok, this library on mostly devices works but only on several android devices it doesn't

MBrizic01 commented 6 months ago

Hello @VitalikShcherbyna, could you share the Android devices on which the app doesn't work? Also, when does the crash happen? When you initialize the SDK or when the app is in the background and then you initialize it again?