urovosamples / SDK_ReleaseforAndroid

This repository contains all the samples files for Urovo Android Smart POS Payment Terminal;Handheld Data Terminal, including the revision history.
53 stars 25 forks source link

Integrating with Flutter but encountered an issue #22

Open MdSaif22 opened 5 months ago

MdSaif22 commented 5 months ago

Running a flutter app on DT50s and triggering Barcode Scanner but getting the below error

PlatformException: PlatformException(error, stub, null, java.lang.RuntimeException: stub
    at b.b.b(Triggering.java:5)
    at b6.a.b(LaserScannerPlugin.java:15)
    at b6.a.onMethodCall(LaserScannerPlugin.java:226)
    at w6.j$a.a(MethodChannel.java:18)
    at k6.c.l(DartMessenger.java:19)
    at k6.c.m(DartMessenger.java:42)
    at k6.c.i(Unknown Source:0)
    at k6.b.run(Unknown Source:12)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:223)
    at android.app.ActivityThread.main(ActivityThread.java:7705)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
)