Skip to content

Commit

Permalink
Fixed bug in calling FeliCa.sendFeliCaCommand method
Browse files Browse the repository at this point in the history
  • Loading branch information
okadan committed Oct 14, 2020
1 parent 17ddf78 commit d526f12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.0.2

* Fixed a bug in calling `FeliCa.sendFeliCaCommand` method.

# 2.0.1+1

* Update README.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/platform_tags/felica.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class FeliCa {
///
/// This uses NFCFeliCaTag#sendFeliCaCommand API on iOS.
Future<Uint8List> sendFeliCaCommand(Uint8List commandPacket) async {
return channel.invokeMethod('FeliCa#transceive', {
return channel.invokeMethod('FeliCa#sendFeliCaCommand', {
'handle': _tag.handle,
'commandPacket': commandPacket,
});
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nfc_manager
description: Flutter plugin for accessing the NFC features on Android and iOS.
version: 2.0.1+1
version: 2.0.2
homepage: https://github.com/okadan/flutter-nfc-manager

environment:
Expand Down

0 comments on commit d526f12

Please sign in to comment.