You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide the full documentation of the package, as i have gone through the samples but didn't understand how to write custom tags. e.g. vCard or other. Thanks
The text was updated successfully, but these errors were encountered:
Hi @farry19 because this repo is an app, currently we don't have any plan to provide documentation.
Regarding vCard, you can try this code snippet:
asyncfunctionwriteVCard(value){awaitNfcManager.requestTechnology(NfcTech.Ndef,{alertMessage: 'Ready to write some NDEF',});const{name, tel, org, email}=value;constvCard=`BEGIN:VCARD\nVERSION:2.1\nN:;${name}\nORG: ${org}\nTEL;HOME:${tel}\nEMAIL:${email}\nEND:VCARD`;constbytes=Ndef.encodeMessage([Ndef.record(Ndef.TNF_MIME_MEDIA,'text/vcard',[],vCard),]);awaitNfcManager.ndefHandler.writeNdefMessage(bytes);NfcManager.cancelTechnologyRequest();}
hi , i want to try this app and clone it , so i have a mifare card,
when i try to write a text or mail there is an error pop up like "NFC Error Error: unsupported tag api"
why do i get this ? is something wrong about my card?
Can you provide the full documentation of the package, as i have gone through the samples but didn't understand how to write custom tags. e.g. vCard or other. Thanks
The text was updated successfully, but these errors were encountered: