Closed XXUUNN closed 3 months ago
I can not reproduce this problem. Please provide the whole demo project. For example your I
is not defined.
Wait I have successfully reproduced this error after retrying many times. Will look into it next week.
It's fixed in the dev branch. This bug was introduced in v1.3.3 in this optimization:
Optimizing write speed when there's only one key inside MMKV.
The version of MMKV
v1.3.3 & version-latest
The platform of MMKV
Android
What's the issue?
1.3.3版本开始,SINGLE_PROCESS 和 CRYPT下,encode一个数据后,decode这个key的数据很可能出现错误,decode失败。 有错误输出 InvalidProtocolBuffer truncatedMessage
logcat output