• I have an NFC read-write app in Flutter and I have been testing it on iPhone se 2020 in developer mode using both Xcode and test flight
• It was reading and writing NFC tags fine until the last 10 days or so . Now NFC tag read works but write and erase fails
• In Xcode debug mode sometimes the app works. It clears NFC tags and writes into tags correctly, the rest of the time it says it can not. And it gives platform exception tag is not connected, 401 error on tag write and 104 on tag erase.
• Other NFC apps on my phone still read-write correctly so nfc hardware on my phone is not faulty
• and nfc tags are also not faulty as they work fine with other apps
• My app's old builds on the test flight were working fine but even they are not working now, so it's not a change in my code that broke the app
• Can a software update on iPhone se 2020 break it, but why does another app still work with the phone but not mine
• Xocde uses an automatic provision profile based on my app code and previous profiles with the same bundle name. I did change my other provisioning profile but it is not the one I use so it should not matter
• I did update my phone to beta 16.5 and then reverted to 16.4.1 using ipw I don’t know if my app was on 16.4.1 or it is giving trouble due to 1.65 and then going back to 16.4.1 or its something else
• So, provisioning profile, and iPhone software update are my two main suspects but i do not know what to do now. Maybe my code always had any problems and now with a software update it became worse