In our App we are using Android’ documented standard APIs to
add Network configuration with credentials to OS.
This works well on non Samsung device.
However, On few Samsung devices on Android 11/oneUI3.1 , when user manually /system automatically adds our App to Deep sleep App list under settings , then the network configuration already added by our app is also removed by the OS. this is not expected behavior . Once our App configures the Network configuration on the OS , it should be remain saved in the OS unless user uninstall our App this is as per standard Android document/behavior for the network suggestions added by an App.
This is a big issue for our customer using samsug device as they wont be able to use wifi network which is provisioned via our App.
Any idea how to solve this? or is Samsung team aware of this issue ?
We do not want to give instructions to users to remove app from deep sleep list/ add app to never sleeping app list on Samsung device. this is not a good user experience.