Description
Hi,
I'm testing out this library using expo. I've added all the necessary lines to the manifest and the aid_list.xml file.
But I'm still having a lot trouble getting the example app working. Clearly something is working, the app doesn't crash when it attempts to turn on HCE and when I have two different HCE apps running, the android UI pops up and asks which app should be responsible for generating the tag. The only issue is that the other app actually generates a tag that can be read and the example doesn't.
The most frustrating part is the difficulty in debugging or trying to narrow down what's going wrong. It's using all the same example code and the manifest + aid_list have been added / updated. The HCE logger detects when the HCE is turned on and off, it detects when another tag is read. But it never actually generates the tag or the data from it.
In the event when there are two apps with HCE on the phone both active, the android UI asks to choice between them. When I choose the other app the nfc reader on the other phone detects the tag. When I choose the react-native-hce example app the UI for tapping the phone against a card reader shows up but the tag reader can never detect the generated tag. In the event that only the react-native-hce app is active, then no android options show up and the tag is still never read.
For reference here's the working app, which at least proves that my devices can do HCE with other devices correctly. https://github.com/MichaelsPlayground/NfcHceNdefEmulator/tree/master.
But I have no idea
- how to debug what's going wrong from here
- how to fix the issue
Appreciate any help possible