Open HannesHentzschel opened 5 years ago
Hi everyone,
I noticed the plugin was crashing on android api level < 19 because the NfcAdapter.ReaderCallback class is not defined.
I have developed a fix for this. If you are interessted I can create a pull request. You can see my solution here:
https://github.com/HannesHentzschel/phonegap-nfc/commit/95f5ece81984fdd7f8295181f8274dbda42f08f7
I tested it with different android versions (4.2.2, 4.4.2 and 8.0.0). It worked, but I am not very experienced with cordova plugin development, so be careful before including it in the main project.
Edit: better link
Hi everyone,
I noticed the plugin was crashing on android api level < 19 because the NfcAdapter.ReaderCallback class is not defined.
I have developed a fix for this. If you are interessted I can create a pull request. You can see my solution here:
https://github.com/HannesHentzschel/phonegap-nfc/commit/95f5ece81984fdd7f8295181f8274dbda42f08f7
I tested it with different android versions (4.2.2, 4.4.2 and 8.0.0). It worked, but I am not very experienced with cordova plugin development, so be careful before including it in the main project.
Edit: better link