Shared Preference is not working in Android 13. for example if you download app from google play and counter is at 15 and saved in shared preferences then uninstall app and reinstall app from google play the 15 counter is still their it should pe 0
nope it is not occurring that way, you must be updating the app instead of uninstalling and reinstalling. I have tested the same scenario on Android 13 but its working perfectly fine.
very informtive sir mera bhi concept clear ho gya
very good
Informative ❤
thank you
Shared Preference is not working in Android 13.
for example if you download app from google play and counter is at 15 and saved in shared preferences then uninstall app and reinstall app from google play
the 15 counter is still their it should pe 0
nope it is not occurring that way, you must be updating the app instead of uninstalling and reinstalling.
I have tested the same scenario on Android 13 but its working perfectly fine.
Also you can switch to Data store which was recently introduced since Shared preferences in deprecated from Android 12.