Post not yet marked as solved
Post marked as unsolved with 2 replies, 1,926 views
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` functionality2. Open the app3. Run the NFC session4. Move the iPhone towards the Tag to read itResults 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 questions1. 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 notifying3. Possibility to enable the background NFC reader when the Tag is no longer in iPhones read range