C72 deploys Chainway self-developed UHF RFID module CM2000-1, which provides perfect performance in UHF reading and writing Supporting protocals of EPC C1 GEN2 and ISO18000-6C and various frequency bands, C72 can read common RFID tags with high accuracy and speed in asset tracking, apparel inventory management, fleet management, toll road, warehousing, finance, etc.
This plugin supports Android 11.
Run command to add package:
flutter pub add rfid_c72_plugin
Create android/libs folder
Download both build.gradle and DeviceAPI_ver20220518_release.aar and copy to android/libs
In android/settings.gradle add the following line to the top of the file:
include ':app',':libs' //libs is folder name
In android/app/build.gradle add a reference to the libs folder in the dependencies section. Example
dependencies {
implementation project(":libs",)
}
//libs is folder name
In android/app/build.gradle set minSdkVersion 19 or higher
import 'package:flutter/material.dart';
import 'package:rfid_c72_plugin_example/rfid_scanner.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return const MaterialApp(
debugShowCheckedModeBanner: false,
home: RfidScanner(),
);
}
}
For support, give a star ⭐ to repo.