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
On Ios everything is ok.
On Android, the message screen for reading card doesn't appear but the card is read;
Can you tell what i've not done correctly?
Hi,
On Ios everything is ok.
On Android, the message screen for reading card doesn't appear but the card is read;
Can you tell what i've not done correctly?
My code:
async asyncReadNfc(){
return new Promise((resolve) => {
Nfc.addListener('nfcTagScanned', async (event) => {
await Nfc.stopScanSession();
resolve(event.nfcTag);
});
Nfc.startScanSession();
});
}
Logcat:
To native (Capacitor plugin): callbackId: 38725514, pluginId: Nfc, methodName: addListener
callback: 38725514, pluginId: Nfc, methodName: addListener, methodData: {"eventName":"nfcTagScanned"}
To native (Capacitor plugin): callbackId: 38725515, pluginId: Nfc, methodName: startScanSession
callback: 38725515, pluginId: Nfc, methodName: startScanSession, methodData: {}
RefreshLastKeyboardType: 1
getCurrentKeyboardType: 1
Notifying listeners for event nfcTagScanned
Firing change: true
To native (Capacitor plugin): callbackId: 130352115, pluginId: Nfc, methodName: stopScanSession
callback: 130352115, pluginId: Nfc, methodName: stopScanSession, methodData: {}
The text was updated successfully, but these errors were encountered: