java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:4493)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:4537)
at android.app.ActivityThread.-wrap21 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1813)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:192)
at android.app.ActivityThread.main (ActivityThread.java:6831)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:825)
Caused by: java.lang.IllegalStateException:
at io.flutter.view.FlutterNativeView$PlatformMessageHandlerImpl$1.reply (FlutterNativeView.java:197)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success (MethodChannel.java:204)
at com.apptreesoftware.barcodescan.BarcodeScanPlugin.onActivityResult (BarcodeScanPlugin.kt:43)
at io.flutter.app.FlutterPluginRegistry.onActivityResult (FlutterPluginRegistry.java:210)
at io.flutter.app.FlutterActivityDelegate.onActivityResult (FlutterActivityDelegate.java:143)
at io.flutter.app.FlutterActivity.onActivityResult (FlutterActivity.java:142)
at android.app.Activity.dispatchActivityResult (Activity.java:7431)
at android.app.ActivityThread.deliverResults (ActivityThread.java:4489)
And the exact line causing the error is this line right here
Hi,
i got these errors on Production
And the exact line causing the error is this line right here
barcode?.let { this.result?.success(barcode) }
any ideas how this could happen?