Rfid for Flutter

E Efkan YILMAZ 2 years 4 months ago
37 0 0

Hi Everyone ,
I tried of downloading 123RFID sdk which is in Java but i am supposed to implement it in Flutter .
The package Zebra_rfid for flutter in Pub.dev has a repo of github and the sample code to establish the connection with RFID device but it has an error
cancelling listener
W/ZebraRfidPlugin(10632): adding listener
D/RFIDHandler(10632): CreateInstanceTask
D/RFIDAPI3(10632): Rfid Service not available..
W/System.err(10632): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.zebra.rfid.rfidmanager/com.zebra.rfid.rfidmanager.RFIDService}
W/System.err(10632): at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:490)
W/System.err(10632): at com.zebra.rfid.api3.Readers.b(SourceFile:34)
W/System.err(10632): at com.zebra.rfid.api3.Readers.GetAvailableRFIDReaderList(SourceFile:6)
W/System.err(10632): at com.hone.zebra_rfid.RFIDHandler$2.doInBackground(RFIDHandler.java:114)
W/System.err(10632): at com.hone.zebra_rfid.RFIDHandler$2.doInBackground(RFIDHandler.java:107)
W/System.err(10632): at android.os.AsyncTask$3.call(AsyncTask.java:378)
W/System.err(10632): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err(10632): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
W/System.err(10632): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err(10632): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err(10632): at java.lang.Thread.run(Thread.java:919)
D/RFIDHandler(10632): InvalidUsageException
W/ActivityThread(10632): handleWindowVisibility: no activity for token android.os.BinderProxy@165b467
W/FlutterActivityAndFragmentDelegate(10632): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
W/ZebraRfidPlugin(10632): adding listener
D/RFIDHandler(10632): CreateInstanceTask
D/RFIDAPI3(10632): Rfid Service not available..
W/System.err(10632): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.zebra.rfid.rfidmanager/com.zebra.rfid.rfidmanager.RFIDService}
W/System.err(10632): at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:490)
W/System.err(10632): at com.zebra.rfid.api3.Readers.b(SourceFile:34)
W/System.err(10632): at com.zebra.rfid.api3.Readers.GetAvailableRFIDReaderList(SourceFile:6)
W/System.err(10632): at com.hone.zebra_rfid.RFIDHandler$2.doInBackground(RFIDHandler.java:114)
W/System.err(10632): at com.hone.zebra_rfid.RFIDHandler$2.doInBackground(RFIDHandler.java:107)
W/System.err(10632): at android.os.AsyncTask$3.call(AsyncTask.java:378)
W/System.err(10632): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err(10632): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
W/System.err(10632): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err(10632): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err(10632): at java.lang.Thread.run(Thread.java:919)
D/RFIDHandler(10632): InvalidUsageException

Device used : Zebra TC26
what can be the probable solution for this ? Please let me know .
Thank you

Regards,
Anup

CONTACT
Can’t find what you’re looking for?