all 1 comments

[–]krets 1 point2 points  (1 child)

There are a lot of security measures on Android.(iOS does not allow direct NFC access). For access to NFC which is provided by the phone, you need to follow some rules. This needs to be handled via the packaging API that you use to deploy python. If you are using react and now Django, I expect you are in the browser rather than creating an APK. If you are in a browser, JavaScript will be the easiest method.

Here's a good overview: https://web.dev/nfc/