chore: adopt @rocket.chat/mobile-crypto 0.3.0 - #7401
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
WalkthroughIn ChangesDependency Pin
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Android Build Available Rocket.Chat 4.74.0.109101 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNQ3dd1JY--FohQxpcW3yMB7vGtMZBpwNr3oh7IcCULDwb8TVeyQCaCZIoUjfDGoXpE0wPplJzVKkby2wwlA |
|
iOS Build Available Rocket.Chat 4.74.0.109103 |
c391f1f to
dd5ccd3
Compare
Proposed changes
Point the app at
@rocket.chat/mobile-cryptov0.3.0, rebuilt against React Native 0.83 as a New Architecture TurboModule. The dependency pin moves from the library's default branch to the rebuilt commit13c76b6.Notable changes pulled in:
__has_includeguard), so it builds under both static libraries anduse_frameworks!.rsaVerify/rsaVerifyBase64now accept PKCS#1 public keys, which were previously rejected (SPKI still works). This is the path that decrypts E2E keys already stored on a device.rootProject.ext, so nothing changes on the app side.Files touched:
package.json(git pin),pnpm-lock.yaml,ios/Podfile.lock(MobileCrypto 0.3.0).Issue(s)
https://rocketchat.atlassian.net/browse/NATIVE-1235
Depends on RocketChat/rocket.chat-mobile-crypto#14
How to test or reproduce
pnpm install && pnpm pod-installScreenshots
Types of changes
Checklist
Further comments
The pin targets a library commit that is not yet on the library's default branch; that change needs to land (and ideally be published) before this PR merges. The rebuild was validated against RN 0.83; this app is on RN 0.81, where the library is expected to work (it reads SDK/Kotlin versions from the host app and its
react-nativepeer range is unconstrained), but it should be confirmed on device before merge.Summary by CodeRabbit
Summary by CodeRabbit