nativescript-nfc
nativescript-nfc copied to clipboard
Callback not initiating on ios 14.6 with ns 8
This is my code
new Nfc().setOnNdefDiscoveredListener(
(data: NfcNdefData) => {
console.log(data)
},
{
stopAfterFirstRead: true
}
).then(data => {
return data;
})
.catch(() => {
throw new Error("nfc fail")
}
);
When i run this the visual nfc scan view gets showen
But nfc cards are not being scanned this is showen in the console:
00000002 83138630 -[NFCNDEFReaderSession beginSession]:293[NFCNDEFReaderSessiondidUIControllerInvalidate:]:187 sessionState=2, proxy=YES
Dankje Eddy voor alle contributies die je hebt gedaan voor de NativeScript community
Same issue
Has anyone got a solution for this yet?
Nope and I need one Jyrone Parker *Technical Consultant, *Technopreneur
Never Let Limited Minds Limit Your Success https://www.jyroneparker.com http://www.jyroneparker.com | https://youtube.com/c/jyroneparker https://youtube.com/c/jyroneparker Twitter: @mastashake08
On Mon, Dec 6, 2021 at 7:39 PM Ben Sutter @.***> wrote:
Has anyone got a solution for this yet?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-nfc/issues/72#issuecomment-987434667, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLK4HDK7C5FEN3X3IEIGLUPVJS5ANCNFSM47CBNH5A .
This looks to be a duplicate of #70, solutions are there