Skip to content

Commit

Permalink
fix: android opening default browser in webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiParraCrespo committed Oct 22, 2024
1 parent 5c8955d commit 9d6b32b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ This document logs notable, developer-facing updates to the NEAR Mobile Wallet.

### 🐛 Bug Fixes

- Fix Android opening default browser [fix/android-opening-default-browser](https://github.com/Peersyst/near-mobile-wallet/pull/544)
- Improve UI of the explore section [fix/explore-ui-fixes](https://github.com/Peersyst/near-mobile-wallet/pull/543)
- Get actions from the kitwallet api of NearBlocks [fix/actions-rate-limited](https://github.com/Peersyst/near-mobile-wallet/pull/540)
- Fix SignerRequestModal not scrolling on Android [fix/signer-request-not-scrolling-on-android](https://github.com/Peersyst/near-mobile-wallet/pull/538)
- Fix NFTs not being displayed in the APP [fix/nft-not-being-displayed](https://github.com/Peersyst/near-mobile-wallet/pull/537)
- Improve UI of the explore section [fix/explore-ui-fixes](https://github.com/Peersyst/near-mobile-wallet/pull/543)

### 📚 Third-Party Library Updates

Expand Down
1 change: 1 addition & 0 deletions src/module/signer/containers/DAppWebView/DAppWebView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const DAppWebView = forwardRef<WebView, DAppWebViewProps>(({ style, ...rest }, r
<WebView
ref={ref}
originWhitelist={["*"]}
setSupportMultipleWindows={false} // Prevents the WebView from opening native browser on Android
onShouldStartLoadWithRequest={handleWebViewRequestLoad}
injectedJavaScriptBeforeContentLoaded={injectedJavascript}
onStartShouldSetResponder={() => true}
Expand Down

0 comments on commit 9d6b32b

Please sign in to comment.