Closed MaruksS closed 5 years ago
Did you tried this plugin with version 0.7.3 ( phonegap-nfc@0.7.3 ) ?
"nfc not defined" typically means the plugin is not installed correctly, or there is a problem with scoping. I haven't used Ionic1 for a long time, but I have a sample project you can try https://github.com/don/ionic-nfc-reader/tree/2b417dff9cd36b19a874170e66c257a513630e80.
I'm making an app with Ionic v1 using phonegap-nfc plugin.
I was following documentation at the installation, but I keep getting the same error over and over again. I am testing app on a real device with NFC support and I can successfully launch and use this project which uses the same plugin. I have all the same plugins installed (including cordova-plugin-whitelist).
I get no other errors except
ReferenceError: nfc is not defined
. I will include some files which may contain important information to help you understand the issue.config.xml
index.html
app.js