chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
706 stars 559 forks source link

Error occured in NfcPlugin.java #179

Closed polim1022 closed 9 years ago

polim1022 commented 9 years ago

hi, i follow all the steps to install the plugin but it happens that there is some errors occur in NfcPlugin.java. Error says that : the method sendJavascript(String) from the type CordovaWebView is deprecated. What does it mean? Sorry i'm just a newbie. I'm doing this for my FYP. Urgent to solve this problem.How to solve this? I'm using cordova 4.3.0.

Steps i have done to install nfc plugin in my project: cordova create nfc com.example.nfc NFC cd nfc cordova platform add android cordova plugin add com.chariotsolutions.nfc.plugin cordova build

This is the error after open in eclipse: nfcplugin

don commented 9 years ago

That deprecation method is a warning, not an error. The deprecated message means that sendJavascript will be removed in a future version of Cordova. You can safely ignore the warning and your app will work fine.

polim1022 commented 9 years ago

Ya..you are right. I just run it and it is fine. Thanks for your fast reply!