flutter_nfc_acs 0.2.0 flutter_nfc_acs: ^0.2.0 copied to clipboard
A plugin for communicating with the ACR1255U-J1 BT reader from Advanced Card Systems Ltd.
flutter_nfc_acs #
flutter_nfc_acs is a flutter plugin that can provide you to link the acs devices
- Note: This plugin can work only in Android as of now!
Usage #
- Add flutter_nfc_acs as a dependency in your pubspec.yaml file.
- Handle Location/Bluetooth permission in your flutter app. You can use flutter plugins like permission_handler.
import 'package:flutter_nfc_acs/flutter_nfc_acs.dart';
FlutterNfcAcs.connect(widget.device.address)
.catchError((err) => setState(() => error = err));
_sub = FlutterNfcAcs.connectionStatus.listen((status) {
setState(() {
connection = status;
});
});
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update the tests as appropriate.