revtel / react-native-nfc-manager

React Native NFC module for Android & iOS
MIT License
1.38k stars 317 forks source link

Android Mifare Example #266

Closed Argecy closed 3 years ago

Argecy commented 4 years ago

Hi.

I see a lot of IOS implementation examples but few to none examples for Android. I'm using Mifare DESFire cards which need to use the IsoDep tech and transcreive method. I've got experience with reading the cards on a native Android app however react native is new for me so I got no clue.

Someone who can help me (or provide an example)?

whitedogg13 commented 4 years ago

Hi @Argecy , you can use IsoDep tech to send raw APDU into your card directly, as in this example.

The main difference between iOS and Android is that the iOS requires you to explicitly specify your target AID in info.plist and it will perform the select AID for you, however Android wants you to select it manually.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 3 years ago

This issue was closed because it has been stalled for 5 days with no activity.