-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRASH: Unable to delete SharedPreferences: prefs_name #36
Comments
Hi, can you please file a bug against the library here: https://issuetracker.google.com/issues/new?component=907884&template=1466542 This does seem like an inconsistency that we may want to fix. It'd be helpful if you can include how often you are seeing the crash. Also, it is probably worth catching and handling IOExceptions at call sites. |
We are actually facing the same issue, with most of samsung users as well, any other way to handle this or to have a patch soon ? Thank you in advance |
@HedyHidouRy I am not seeing this crash anymore, but it is because this is migration problem and almost all my users have already been migrated....but this is definitely not a solution, issue tracker is still without any response, I dont have any advice |
I can see crashes in firebase caused by this, mostly on devices with android 8 and more (mostly Samsung devices).
App crashes during migration from shared preferences when trying to delete shared prefs.
Can somebody explain me why are you throwing IOException if deleteSharedPreferences() returns false on api >= 24, but you are silently continuing when prefs aren't able to delete on api < 24? Why can't you silently continue also for api >= 24?
Thank you for your answer.
The text was updated successfully, but these errors were encountered: