Files
c166a5a44e fix(mobile): upgrade react-native-quick-crypto for Android 16KB page size (#7480)
* fix(mobile): upgrade react-native-quick-crypto for Android 16KB page size support

Upgrade react-native-quick-crypto from 0.7.x to 1.0.17 to support
Android 16KB page size requirement. Add react-native-nitro-modules and
react-native-quick-base64 as new peer dependencies. Update
react-native-device-crypto patch to remove deprecated jcenter()
repository references for Gradle 9.0 compatibility.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>

* chore(mobile): remove unused config/ethers.ts

Dead code — crypto-shims.ts in platform/ is the active version
imported by the root layout.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>

* fix(mobile): deduplicate react-native-quick-base64 via resolution

Add root resolution to force a single copy of react-native-quick-base64
(2.2.2), avoiding version skew between the direct dependency and the
transitive one from @craftzdog/react-native-buffer.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>

* fix(mobile): upgrade react-native-mmkv to v4 and pin MMKV pod

- Upgrade react-native-mmkv from 3.x to 4.2.0 (Nitro-based rewrite)
- Migrate API: new MMKV() -> createMMKV(), .delete() -> .remove()
- Pin MMKV pod to ~> 2.3.0 in notification extension plugin instead
  of master branch, fixing sharedApplication build error in App
  Extensions
- Update expo plugin config.ts (source of truth for Podfile template)

Co-authored-by: Hanzo Dev <dev@hanzo.ai>

* docs: add solution doc for Expo native file editing workflow

Document that generated native files (ios/Podfile etc.) must be
modified through Expo config plugins, not directly. Also unignore
docs/solutions/ from .gitignore.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>

* fix(mobile): add jest mocks for react-native-nitro-modules and mmkv v4

MMKV v4 uses NitroModules under the hood, which requires mocking in
the test environment. Add mocks for both react-native-nitro-modules
and the new react-native-mmkv createMMKV API.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>

---------

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-03-19 13:28:26 +01:00
..