- Jun 6, 2020
- 11,559
- 4,422
Hello
I'm trying to programmatically disable NFC intent handling when my app is not open.
Ideally, when the app is closed, the external NFC intent in the manifest should be handled only if a specific option is set , ignored otherwise. When the app is open and in the foreground, the user is actively using the app so all intents should be handled.
Reading around seems like the new way to do this is by using enableReaderMode (lets you set a callback in another thread) instead of the old enableForegroundDispatch.
Is this possible in B4x?
I'm trying to programmatically disable NFC intent handling when my app is not open.
Ideally, when the app is closed, the external NFC intent in the manifest should be handled only if a specific option is set , ignored otherwise. When the app is open and in the foreground, the user is actively using the app so all intents should be handled.
Reading around seems like the new way to do this is by using enableReaderMode (lets you set a callback in another thread) instead of the old enableForegroundDispatch.
Is this possible in B4x?
برای دیدن لینک ها باید ثبت نام کنید