Closed troymiao1989 closed 6 years ago
"ReferenceError: nfc is not defined" generally means the plugin is installed incorrectly.
Use the Cordova or PhoneGap CLI to install the plugin into your project since it copies the correct files to the proper places. Make sure you're using the latest version of the CLI.
npm install -g cordova
cordova create myApp com.example.myapp MyApp
cd myApp
cordova plugin add phonegap-nfc
Hi, "ReferenceError: nfc is not defined" is happened
\
\
\
↑ is not included in the plugin.xml is ok?
please help me