fix: request location permission after it is rejected during Ledger connection#8745
fix: request location permission after it is rejected during Ledger connection#8745dawnseeker8 merged 73 commits intomainfrom
Conversation
… to setting page.
|
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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8745 +/- ##
==========================================
+ Coverage 45.35% 45.93% +0.58%
==========================================
Files 1272 1273 +1
Lines 31247 31274 +27
Branches 3189 3195 +6
==========================================
+ Hits 14171 14366 +195
+ Misses 16234 16066 -168
Partials 842 842 ☔ View full report in Codecov by Sentry. |
|
E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/4607f381-3685-46c9-a234-ae462b621c95 |
|
|
Android 11
Results for Android 11 deviceManual test steps with bluetooth and location both enabledRecording
Bluetooth on/Location on (Happy path)Recording
Bluetooth on/Location offRecording
Bluetooth off/Location onRecording
|
|
NicolasMassart
left a comment
There was a problem hiding this comment.
Looks good to me.
Thanks again for all the effort you put in following advice and taking account of feedback!
|
Tested on Samsung S21 using Android 14. Screen_Recording_20240402_152101_MetaMask-QA.mp4 |
…omponent to avoid the side effect.
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@ledgerhq/devices@8.2.1, npm/@ledgerhq/react-native-hw-transport-ble@6.32.0 |
|
|
NicolasMassart
left a comment
There was a problem hiding this comment.
Looks good to me.
|
I have also tested the android 9 with location permission, and all the issue marked by Mike has gone with latest library upgrade. |



Description
This PR is to fix #8643 and #8718 issue
This PR has done following change:
nearby devicespermission for ledger bluetooth connection. not requiredlocationpermission any more.locationpermission withprecise locationon to work with ledger.nearby devicespermission error message inen.jsonErrorDetailmodal to fit the newnearby devicesin the screen.Related issues
Fixes: #8643
#8718
Manual testing steps
add account or hardware walletAdd hardware walletLedgerview settingswhich direct tosettingpage of metamask permissionNearby Devicespermission, and clickbackto appScreenshots/Recordings
Before
After
Screen_Recording_20240227_233546_MetaMask.mp4
Pre-merge author checklist
Pre-merge reviewer checklist