Guo Ling
Guo Ling
Maybe we have to drop the undefined default value.
I've decided that `undefined` will be returned on non-existent values unless a specific `defaultValue` is passed in. It's fixed in 1.3.6-beta2 on OHPM.
It's fixed in [v1.3.6](https://github.com/Tencent/MMKV/releases/tag/v1.3.6).
You should provide logs of MMKV.
That is not MMKV's official log. Please provide the official logs from MMKV.
Issues without necessary info will be ignored and closed. Please provide them ASAP.
>默认 15:16:38.521239+0800 HomeApp DRAGON === MMKV ====[MMKV W] [mmkv.default] file not valid Your logs lack necessary info about the first init of the [mmkv.default] file. Please provide them otherwise there's...
Try redirecting these logs into a file.
PS: if you have a problem writing a file **at that moment**, it's quit normal you can't open an MMKV instance as well.
>MMKVLog 2024-10-22 07:32:48 +0000 [MMKV E] 2 fail to open [/var/mobile/Containers/Data/Application/31B22241-DA0D-4FF3-B12A-99D314864C22/Library/kvStore/CommonFramework/CommonFramework], 1(Operation not permitted) Your App doesn't have permission to access these files. Some backgroup info: https://github.com/Tencent/MMKV/blob/master/Core/MemoryFile_OSX.cpp#L30. https://developer.apple.com/documentation/foundation/nsfileprotectiontype There are...