-
Is it possible for MMKV data files to be cross-platform or version-compatible? I am using POSIX-based MMKV, and the target platforms might include iOS and Android(32-bit or 64-bit) . Is it feasible to achieve resource synchronization by transferring MMKV data files? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
MMKV is not designed to be transported between hosts, especially cross-platforms with different arches. |
Beta Was this translation helpful? Give feedback.
-
Hello, I noticed that MMKV 2.0.2 has been released, and it mentions bug fixes related to the backup/restore functionality across different filesystems. Does this imply that the backup/restore feature itself has achieved a certain level of cross-platform capability? Previously, I tested this on iOS x86/64 ARM as well as 32-bit and 64-bit Android projects without noticing any significant issues. However, since there was no official statement about cross-platform consistency, I ultimately chose not to use it. I’d like to know if this update represents an effort to ensure cross-platform consistency. Looking forward to an official confirmation and test on cross-platform reliability soon. |
Beta Was this translation helpful? Give feedback.
Well, there are several things you should test carefully.
MemoryFile
class in the MMKV Core lib has managed it robustly. You should test it regardless.