22 Commits

Author SHA1 Message Date
guoling 522cf55fa1 Prepare for v2.4.3 hotfix 2026-10-15 19:40:49 +08:00
ngnahtn 46b71fbe22 fix(android): guard onDetachedFromEngine NPE when libmmkv.so missing for ABI
The published com.tencent:mmkv AAR ships native libs for arm64-v8a and
x86_64 only. On an armeabi-v7a / x86 device onAttachedToEngine() throws
UnsatisfiedLinkError from loadLibrary() before `channel` is assigned. The
engine keeps running, but on activity destroy
FlutterEngineConnectionRegistry.removeAll() calls onDetachedFromEngine()
unconditionally -> channel.setMethodCallHandler(null) -> NullPointerException
-> "Unable to destroy activity" -> fatal crash on every app exit for that
whole ABI class.

- Catch the load failure so `channel` is still registered (MMKV method
  calls then fail gracefully through the existing FFI path).
- Null-guard onDetachedFromEngine().
2026-09-07 16:51:36 +07:00
guoling 6df31b7c0b Prepare for v2.4.2 hotfix 2026-08-20 17:42:52 +08:00
guoling 4287c37f45 prepare for v2.4.1 2026-07-29 20:37:56 +08:00
guoling 1980694c42 add MMKV config for flutter 2026-02-09 20:42:17 +08:00
guoling 4403eb9769 support aes 256 on flutter 2025-12-01 17:05:24 +08:00
guoling 71ee4df1f7 v2.2.4 2025-09-25 15:16:00 +08:00
guoling 6545be23fe prepare for v2.2.3 2025-08-20 17:23:21 +08:00
guoling 8093cb35e1 prepare for v2.2.2 2025-05-08 11:52:46 +08:00
guoling eea94733e6 add importFrom() for Flutter 2025-04-25 13:05:55 +08:00
guoling 85e64c9422 add checkExist() for Flutter 2025-04-22 16:39:05 +08:00
guoling 2bf2114261 update mmkv_android & mmkv_ios flutter plugin settings 2025-02-18 19:48:47 +08:00
宫绫 f90cb36b7d Fix and optimize for Flutter Android
Remove unused imports and fix deprecated implementations.
2025-02-05 11:57:30 +08:00
guoling 49d536b0af NameSpace works on flutter & ArkTS 2025-01-07 16:14:08 +08:00
guoling 47d3c0893a add readonly support 2024-09-06 19:44:11 +08:00
guoling e9753109ce update flutter deps 2024-07-26 14:17:04 +08:00
guoling 9462faa2f2 prepare for v1.3.9 2024-07-24 17:06:30 +08:00
guoling 00a5dbd22f prepare for v1.3.7 2024-07-08 15:33:43 +08:00
guoling c44ce1fb2e prepare for v1.3.6 2024-07-05 18:32:25 +08:00
guoling 0f1fc97711 try load libmmkv.so before dart attach 2024-06-21 20:13:58 +08:00
guoling c56e60b40f prepare for v1.3.5 2024-04-24 16:21:25 +08:00
guoling 1883e65ec0 add mmkv_android 2024-04-18 17:47:22 +08:00