When scanning, AppState becomes background
I have listening enabled
AppState.addEventListener('change', (state) => {
console.log('LOGAUT', state);
});
When the scan event is triggered
NfcManager
.requestTechnology(NfcTech.Ndef);
Apostate becomes = 'background'
Is there any way to fix this?
I guess you are on iOS and the answer is no. The OS puts your app in the background and its own scan dialog in the foreground.
btw: this type of question would be better suited for the newly created Disscussions Q&A format
No, I use android
Thats unexpected, since Android does not put up its own NFC dialogue in front of your app.
Thats unexpected, since Android does not put up its own NFC dialogue in front of your app.
But that's exactly what happens
I've got the same issue (on android), its very annoying since i'm using the android presentation api for an external display, but when the app goes to background, the display goes away for a few miliseconds.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Bump. Same here