a plugin to get the NFC's extra_id
Used to android.
cordova plugin add https://github.com/jieyuchongliang/GetNfcExtraId.git
step1:
add :
<uses-feature
android:name="android.hardware.nfc"
android:required="true"/>
in your AndroidManifest.xml file.
step2:
methed:
cordova.plugins.GetNfcExtraId.show(success,error);
function success(message){
alert(message);
};
function error(message){
alert(message);
};