Closed Rav-Naz closed 4 years ago
Thx for reporting. There are a few ways around this, but I think it's best to fix that in the plugin itself - give 4.1.0 a spin.
I'm fixed it by install tns-platform-declarations and added reference.d.ts on root folder. I'm suggest that you should add this infromation in readme.md.
śr., 6 lis 2019, 17:18 użytkownik Eddy Verbruggen notifications@github.com napisał:
Closed #51 https://github.com/EddyVerbruggen/nativescript-nfc/issues/51.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-nfc/issues/51?email_source=notifications&email_token=AH2RYFWYORJUEGPZ4J5DNT3QSLU6BA5CNFSM4JJS7HYKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUV24ZCI#event-2775960713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2RYFQLR7QLO5OHAOLEUW3QSLU6BANCNFSM4JJS7HYA .
That was what I could have said, but I did one better and fixed it in the plugin like I mentioned.
Hey, is there any way to enable NFC only in one component? Already it is enabled on whole application, and everytime I'm getting this information:
Ndef discovered, but no listener was set via setOnNdefDiscoveredListener.
I'm wish to use nfc only in components where I have listeners. Thanks for help in advance. Best regards, Rafał
śr., 6 lis 2019 o 18:37 Eddy Verbruggen notifications@github.com napisał(a):
That was what I could have said, but I did one better and fixed it in the plugin like I mentioned.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-nfc/issues/51?email_source=notifications&email_token=AH2RYFUSOTVRANG4LUGZ6R3QSL6FTA5CNFSM4JJS7HYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHLXRI#issuecomment-550419397, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2RYFSOFJ2GRKGAMLSHV2DQSL6FTANCNFSM4JJS7HYA .
We can remove that console.log, if that helps. But please don't hijack other issues with unrelated questions.
after type in console
tns run
I'm getting this error:I'm working on Android Emulator, in Nativescript Angular