-
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? #412
Comments
That would be this plugin: https://github.com/chariotsolutions/phonegap-nfc We can definitely add a wrapper for it. |
So I was just writing a wrapper for the plugin and I noticed it could be done in two ways.
See here: 82ccf13 I think the first option makes more sense, but I would like to know what you think. CC: @mlynch @mhartington |
+1 on the first option. Observable seems to be in line with how other wrappers implement this type of thing. |
* feat(nfc): add nfc plugin addresses #412 * feat(nfc): add nfc support
This import is not working in Ionic2 beta11. Ionic-native/dist/index has no exported member 'NFC'
If I open and look for 'nfc' into Ionic-native/dist/index.js & index.d.ts, there is no reference to it. I'm trying to work with the example from http://ionicframework.com/docs/v2/native/nfc/ Could anybody help me? Thanks |
@bokgeek did you update the installed package of ionic-native? Check your package.json, please make sure you have the most recent version. |
Thanks a lot @mhartington, that was the issue. Finally I did it! |
Hi folks, the phonegap-nfc plugin supports iOS now by adding two additional functions (beginSession & invalidateSession). Is there a way to implement those in the ionic native wrapper so people can use NFC for iOS with Ionic? |
@lehrenberg it should be possible to just add the 2 additional method to the class. If you're up for sending a Pull Request to add them, I'd be more than happy to walk you through it and merge it! |
@mhartington So I just added the two methods. Not sure if this 100% correct though. Actually never contributed before... The pull request is #2050 |
Hi guys, I have noticed that the ionic-native nfc does not support the invalidateSession function. |
Please create a new Issue. |
I couldn't find any reference fro NFC support on Ionic Native. It is supported? There's a way to use it?
PD: If not, can be used in Ionic v1?
Thanks! :)
The text was updated successfully, but these errors were encountered: