In my React Native app, one of the screens shows the QR code. That QR code should be placed to the QR code reader, which has also NFC capabilities.
My task is to make sure that the NFC is turned off. Yep, my app does not have any NFC features or capabilities. No permissions are set in AndroidManifest or Info.plist.
That is just a QR code provider (NS from the Netherlands) requirement to make sure the NFC is off. How to make it?
Is that possible that another app somehow uses NFC at this time?
Update:
Generally, the issue is with Apple Pay and Google Pay. While trying to scan the QR code from the screen both payment applications are popped up, which prevents reading the QR code.
So the idea is just to disable those payment applications while using our app.
for iOS is possible to use entitlement https://developer.apple.com/documentation/passkit/pkpasslibrary/1617078-requestautomaticpasspresentation
did not find something similar for Android yet.
related issue on Github https://github.com/revtel/react-native-nfc-manager/issues/455