1
How can I change sharedPreferences
or add a folder at the time of my app update?
I have a C app that I’m running on Android with the SDL library and every time I update the app the application files have to be updated too (they’re in a system folder). The problem is I don’t know when an update was made.
I know that by booting the app I can do this, but it’s still a scam and there may be problems if the user doesn’t open the app until the next update. If there was a way to do it during installation it was ideal and solved all problems.
Make a check whenever the application opens, if the folder exists leave as it is, if it does not exist, create.
– Ícaro Dantas