chore: bump react-native-permissions to 5.6.0 - #33597
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
PR template — items to address before "Ready for review"Warnings — informational, address before merging:
See docs/readme/ready-for-review.md for the full Definition of Ready for Review. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
🧪 Flaky unit test detectionRun history flaky detectionHistorical failure rate is a hint, not proof — review each suggestion in context. See the flaky-test-detection skill for the full pattern reference and manual audit workflow. Failures / runs sampled per window:
AI-detected flaky patterns
|
b1bcd52 to
817675b
Compare
|
817675b to
f27627c
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |



Pre-upgrade dependency bump for the RN 0.85 migration (Wave 4 — verified required). 3.7.2 is out of support and incompatible with the RN 0.85 toolchain; 5.6.0 is the validated target. Landing it now on 0.83 isolates any regression and gives it soak time on main.
Description
Bumps
react-native-permissionsfrom^3.7.2to^5.6.0as part of the incremental pre-upgrade dependency work for React Native 0.85.Changes required by the v4/v5 API:
PERMISSIONS.IOS.BLUETOOTH_PERIPHERALrenamed toPERMISSIONS.IOS.BLUETOOTH— updateduseBluetoothPermissions.ts, its test mock, and the globalapp/__mocks__/react-native-permissions.ts(Android constants unchanged)Permission-BluetoothPeripheral) to the v4+setup_permissions(['Bluetooth'])flow — permission handlers are now compiled intoRNPermissionsdirectlyNSBluetoothAlwaysUsageDescriptionwas already present in both Info.plists (required by the Bluetooth handler) — no plist change neededOur only usage of this library is Bluetooth permissions for Ledger hardware wallet flows (
useBluetoothPermissions,LedgerBluetoothAdapter).Verified locally:
yarn lint:tscgreen, both consumer test suites pass (103 tests),pod installresolves cleanly (RNPermissions 5.6.0,Permission-BluetoothPeripheralpod removed).Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
N/A — dependency version bump, no visual changes expected.
Before
N/A
After
N/A
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Touches OS permission prompts for Ledger Bluetooth on iOS and changes native iOS pod wiring; scope is narrow but device manual testing is important.
Overview
Upgrades
react-native-permissionsfrom ^3.7.2 to ^5.6.0 ahead of the RN 0.85 migration, with lockfile and iOS pod updates (RNPermissions5.6.0).For v4/v5 breaking changes, iOS Bluetooth permission requests now use
PERMISSIONS.IOS.BLUETOOTHinstead ofBLUETOOTH_PERIPHERALinuseBluetoothPermissionsand in Jest mocks. Android permission usage is unchanged.On iOS, the Podfile drops the
Permission-BluetoothPeripheralsubpod and adoptssetup_permissions(['Bluetooth'])so the Bluetooth handler is built intoRNPermissions.Reviewed by Cursor Bugbot for commit f27627c. Bugbot is set up for automated code reviews on this repo. Configure here.