Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native Expo SDK WebView Url Tap Navigate to Device Browser when open_in_device_browser is True #508

Merged
merged 3 commits into from
May 9, 2023

Conversation

Ariflo
Copy link
Contributor

@Ariflo Ariflo commented May 9, 2023

πŸ“¦ Pull Request

Utilizes react-native-webview's onShouldStartLoadWithRequest to detect if a url contains open_in_device_browser query and determine if link should be opened on device browser app.

βœ… Fixed Issues

N/A

🚨 Test instructions

Tested the following flow against https://github.com/fortmatic/phantom/pull/2489 update to Relayer with our React Native Demo Apps on iOS and Android.

Android

2023-05-09 14 43 47

iOS

2023-05-09 13 24 34

⚠️ Don't forget to add a semver label!

Please only add one label:

  • patch: Bug Fix?
  • minor: New Feature?
  • major: Breaking Change?
  • skip-release: It's unnecessary to publish this change.
πŸ“¦ Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @magic-ext/[email protected]
npm install @magic-sdk/[email protected]
# or 
yarn add @magic-ext/[email protected]
yarn add @magic-sdk/[email protected]

@Ariflo Ariflo added the minor Increment the minor version when merged label May 9, 2023
@Ariflo Ariflo requested review from mattupham and Ethella May 9, 2023 22:25
@Ariflo Ariflo self-assigned this May 9, 2023
@shortcut-integration
Copy link

@Ariflo Ariflo temporarily deployed to production May 9, 2023 22:33 — with GitHub Actions Inactive
@Ariflo Ariflo merged commit 3735a0d into master May 9, 2023
4 checks passed
@Ariflo Ariflo deleted the ariflo-sc-77239-webview-navigate-to-browser-expo branch May 9, 2023 23:53
@magiclabsFE
Copy link

πŸš€ PR was released in @magic-ext/[email protected], @magic-sdk/[email protected] πŸš€

@magiclabsFE magiclabsFE added the released This issue/pull request has been released. label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants