flipper-plugin-mmkv-viewer
flipper-plugin-mmkv-viewer copied to clipboard
能否直接遍历MMKV目录而不用指定文件名
有些动态文件名的MMKV存储场景,不太方便在初始化时提前addPlugin,请问是否可以增加遍历MMKV目录的功能?
补充: 能否在MMKVFlipperPlugin增加 add(name)功能,因为FlipperClient本身限制一种Plugin只能add一次,所以在需要动态添加需要观察的文件不太好做。目前我是自己维护一个动态列表,每次需要新增就先从FlipperClient removePlugin然后再重新添加。
- Add all MMKV files from root folder automatically.
Considering that it is not possible to flexibly set the encrypt key of the file in this way, so it is not implemented in this way.
- Dynamically add files that need to be observed.
Great idea, may add this feature later.
补充: 能否在MMKVFlipperPlugin增加 add(name)功能,因为FlipperClient本身限制一种Plugin只能add一次,所以在需要动态添加需要观察的文件不太好做。目前我是自己维护一个动态列表,每次需要新增就先从FlipperClient removePlugin然后再重新添加。
Hi, I have encapsulated MMKV and provided a Flipper desktop plugin. Maybe it can solve your problem. you can find it at https://github.com/porum/KVCompat