'If I denied the permission of the running app, the app data will disappear
If I denied the permission of the running app, the app data will disappear.
The way to change the permission was done in settings.
Step.
- run my app.
- switch my app to the background.
- run settings app.
- change the permissions of my app.
- switch my app to the foreground.
- My app variable data disappears.
UserManager.getInstance().getUserMe()
This is static data. The data disappears and sendbird connection will be disconnected.
Why is this happening?
Solution 1:[1]
https://youtu.be/f17qe9vZ8RM?t=657
Kindly watch this video. In this video, he says that the process is killed when permission is changed. Sorry, I could not find any documentation on that.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Abhilash |