-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Is there any option to disable data history, or manual clear history operation? #1335
Comments
I tested call I guess, This call clean up the history data?
If it is, maybe call |
Whenever a user does a |
Thx for your reply, the new MMKV() // no configuration provided acccording to your reply, if If so, I'll try to call |
I found in My app is Android/iOS, we ignore iOS here because its data couldn't be access by others. For Android, the
That means, though I called |
After some trial and test, I think I just need to call those two methods in order: Then all history data would be erased. |
Though it might work, for now, there's no guarantee that the combination will also work in the future. |
We're using MMKV's react-native bindings, in some cases, we put some password-encrypted data into MMKV.
The data could be RE-encrypted (e.g. user change the password of application) and put into MMKV, it's OK for usage. But for security, the history data still was left on the mmkv.default file, we think its potential vulnerability for our application.
So it there any option to disable the data history for specific/all mmkv data? Or any API to make sure some data history clear before we set it.
If not, do you think we can fork MMKV and do some simple modification to disable the data history feature?
Looking forward for your reply.
The text was updated successfully, but these errors were encountered: