-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nfc plugin maybe have something wrong when wrap up to phonegap-nfc #827
Comments
+1 |
@stormwin So that is there any plan to update the definition for latest version or not ? |
tested locally and works great. will make a PR tomorrow |
@stormwin: The "addMimeTypeListener" on the other hand needs a "mimeType" argument thats missing in TS and the documentation. |
no problem, i will fix it |
Same Problem. Please Fix it. |
@DavidTalamona @dalbir Guys, just created PR with fix |
Just merged it, will be available in the next release. |
I have used the nfc native plugin to use addTagDiscoveredListener function .
It is defined
static addTagDiscoveredListener(mimeType: string, onSuccess?: Function, onFailure?: Function): Observable<any>
but i find the define in phonegap-nfc.js ,it is
addTagDiscoveredListener: function (callback, win, fail) { document.addEventListener("tag", callback, false); cordova.exec(win, fail, "NfcPlugin", "registerTag", []); }
I think there is no mimeType parameter when wrap up to cordova nfc plugin .
any ideas?
The text was updated successfully, but these errors were encountered: