7 Commits

Author SHA1 Message Date
guoling 9348a93f26 refactor callback system into unified MMKVHandler across all platforms
Replace 4 separate static function pointers (LogHandler, ErrorHandler,
ContentChangeHandler, ContentLoadedHandler) with a single MMKVHandler
abstract class in Core C++. Update all 6 platform wrappers (iOS, Android,
OHOS, Python, Golang, Flutter) to use adapter classes bridging to the new
unified handler. Add onMMKVContentLoadSuccessfully callback to Android,
OHOS, Flutter, Python and Golang where it was previously missing.
2026-03-18 12:40:05 +08:00
guoling 6d34583c26 fix Android compile error 2024-04-24 17:11:24 +08:00
guoling eac5dc1b44 encodeBool() & decodeBool() works 2024-04-02 19:10:23 +08:00
guoling b7221438af fix compile error on NDK 21.x 2020-11-30 13:04:20 +08:00
guoling 3c61c8ea2c fix flock() bug on ashmem in Android 2019-12-30 21:21:42 +08:00
guoling 9364d0ccfd add relativePath support for iOS 2019-12-24 22:13:42 +08:00
guoling b13d9d8639 split Android stuff in seperate file 2019-12-13 16:51:37 +08:00