Closed abdulrehmananwar closed 1 year ago
@abdulrehmananwar Not all devices have the same hardware try this plugin instead android 11 support in Rfid C72 [https://github.com/Justin-roy/Rfid_c72_plugin
i have downloaded from above link and build apk from sample butt still its not responding.
@abdulrehmananwar Did you got any error?
no it not respond any error. when i tap on above green buttons.
do i neeed any configration to turn on
@abdulrehmananwar maybe a different hardware if my plugin and Justin-roy/Rfid_c72_plugin not working then you need to check the SDK from the Chinese provider and make a plugin for it
they provide us this sdk butt i dont know how to make plugin from this sdk can you please guide me C72 SDK.zip
@abdulrehmananwar It would be best if you read about making a native Flutter plugin
The steps I used to convert the Native SDK to the Plugin:
1- Make a helper class to separate the SDK logic into simple and clean functions like read cards function, write data, etc
2- Map the helper to functions in the Java plugin
3- Listeners I used channels and RXJava for publishing to the channel.
4- Map the Enum of states to the same dart enums if needed
so the most important step is cleaning the native code to one helper class like the following class https://github.com/amorenew/uhf_c72_plugin/blob/master/android/src/main/java/com/amorenew/c72/uhf_plugin/helper/UHFHelper.java
@abdulrehmananwar when you used Justin-roy/Rfid_c72_plugin plugin did you play with the working area? Set Work area Area Values { "1", "2" 4", "8", "22", "50", "51", "52", "128"} await UhfPlugin.setWorkArea;
try each area maybe it is the issue
its working now Thanks
its working now Thanks
@abdulrehmananwar What WorkArea worked for you? @amorenew What is the difference and how this affects the scanning operation? Thanks all.
@abdulrehmananwar @omarsawalhah Work Area is like a writing standards, each number is stand for USA, China, Europe, and other types which I don’t remember right now It depend on the machine which you used to write the data on the card
there is a one issue its not making sound while scaning
i am using this source code and run the apk on my uhf_c72 device butt its not connecting