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
79b6c97e78
udpate date of v2.4.2
2026-08-21 11:01:58 +08: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
748f883b45
prepare for v2.4.0
2026-03-19 15:25:39 +08:00
guoling
a2f49120ae
update changelog for v2.4.0
2026-03-18 16:23:10 +08:00
guoling
1980694c42
add MMKV config for flutter
2026-02-09 20:42:17 +08:00
guoling
168fd758fb
prepare for v2.3.0
2025-12-02 19:01:30 +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
a1f1017caa
mmkv_platform_interface v2.2.3: protect from freePtr() not found
2025-08-20 20:25:54 +08:00
guoling
6545be23fe
prepare for v2.2.3
2025-08-20 17:23:21 +08:00
lingol
070524e18f
linux done
2025-08-20 18:33:08 +08:00
guoling
c12d528de7
prepare Flutter Desktop support
2025-08-14 20:37:07 +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
e00f5ee3af
prepare for v2.2.0
2025-04-24 17:40:49 +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
guoling
8493e1bea7
update change log date
2025-02-18 15:38:27 +08:00
guoling
4c4ff9d54f
prepare for v2.1.0
2025-02-14 20:24:18 +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
617aadd690
Fix breaking changes on flutter platform interface package #1410
2024-10-25 10:50:17 +08:00
guoling
83e2fa50e6
prepare for v2.0.0
2024-10-21 19:23:40 +08:00
guoling
8b8188d536
add log & error & content change callback for flutter & ArtTS
2024-09-12 18:50:33 +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
bf2f8f8c11
set v1.3.9 release date
2024-07-26 11:10:03 +08:00
guoling
9462faa2f2
prepare for v1.3.9
2024-07-24 17:06:30 +08:00
guoling
c9b20f5a16
Lower Dart to 2.17 to avoid OHOS conflict
2024-07-24 16:55:45 +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
39ae0765c6
dont track pubspec.lock
2024-06-21 20:15:03 +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
48b91517ef
add upper bound on dep
2024-04-19 11:24:07 +08:00
guoling
14b4bd63d2
change dep on mmkv_platform_interface from local to pub.dev
2024-04-19 11:22:55 +08:00
guoling
d2b6cc51e6
update changelog date
2024-04-19 11:14:29 +08:00
guoling
7f0be61fd8
add back upper bound on sdk version
2024-04-19 11:13:32 +08:00
guoling
85f9e2e9a6
update readme for mmkv_android
2024-04-19 10:56:35 +08:00
guoling
2ec60d2ee1
almost done
2024-04-18 18:58:16 +08:00
guoling
1883e65ec0
add mmkv_android
2024-04-18 17:47:22 +08:00