For an app that I am currently developing we want to read data from the SIM card of the user, which works fine. We want to make it possible that the user can switch the SIM card while the app is running. While doing this the OS request a device restart and we cannot seem to suppress this message.
Is there a way to make it able to insert a SIM card while the app is running without restarting the device. I'm open for all options (rooting, custom rom, etc...)