Description:
We are using the `read NFC tag in background` functionality but we are also reading the tags in foreground mode.
If we do the Tag scan with NFC, having the app opened (in foreground), we also receive the notification about the scan result comming from the background read functionality. In result, we are experiencing the Tag read completion twice at once being in foreground mode: from foreground read and the background listener.
Step-by-step instructions:
1. Setup the `NFC background read` listener and the `NFC foreground read` functionality
2. Open the app
3. Run the NFC session
4. Move the iPhone towards the Tag to read it
Results we see:
The Tag is being read but we are also receiving the notification from the `background NFC reader` at the same time.
Results we expect:
If the user is in the foreground mode, the app is opened, and he reads the tag, we expect not to receive the notification from the background NFC listener. The notification from the background NFC reader should come only when the app is not active.
Suggestions / additional questions
1. Is there any way to disable the backgeound NFC reader from notifying when the app is in foreground?
2. Let the developer to control the time of closing the foreground NFC session / blocking the bacgound NFC reader from notifying
3. Possibility to enable the background NFC reader when the Tag is no longer in iPhones read range
I'm having the same problem, any solution?
Same problem with an app developed with unity