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

[5.2][IMPROVEMENT] Adds support for 'dapp/' urls support on 'metamask://' and fixes DL opening to Apple Store #4167

Merged
merged 7 commits into from
May 13, 2022

Conversation

andreahaku
Copy link
Member

@andreahaku andreahaku commented Apr 27, 2022

Description

Adds support for 'dapp/' urls support on 'metamask://' scheme.

So that it'll be possible to use links like:
metamask://dapp/google.com and have the same results of https://metamask.app.link/dapp/google.com.

This is not a deep link so it won't check if the app is installed and if not, take the user to stores to download it.
This is only works if the app is already installed (otherwise the device doesn't know how to deal with metamask:// links.

Reason to use this over Branch.io links is that it does not depend on it and so can overcome some of the limitations of them, like sometimes not opening when programmatically called from dapps (without a user click/tap).

It also fixes the issue related to deep links going to Apple store on iOS even if the app is installed.

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

Issue

Progresses #3965

@andreahaku andreahaku marked this pull request as ready for review April 28, 2022 08:08
@andreahaku andreahaku requested a review from a team as a code owner April 28, 2022 08:08
@andreahaku andreahaku added needs-qa Any New Features that needs a full manual QA prior to being added to a release. needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) labels Apr 28, 2022
@andreahaku andreahaku changed the title [Feature] Adds support for 'dapp/' urls support on 'metamask://' scheme [IMPROVEMENT] Adds support for 'dapp/' urls support on 'metamask://' scheme Apr 28, 2022
@andreahaku andreahaku added Code Impact - Low Minor code change that can safely applied to the codebase Priority - Low Task with low priority labels Apr 28, 2022
Copy link
Member

@andrepimenta andrepimenta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@andrepimenta andrepimenta removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Apr 28, 2022
@dmitry-mikheev
Copy link

May I ask when do you plan to release this fix? This is blocking issue for our team :(
I would really appreciate higher priority

@andreahaku
Copy link
Member Author

May I ask when do you plan to release this fix? This is blocking issue for our team :( I would really appreciate higher priority

Hi @dmitrymikheevappus, most likely with version 5.2.0 so probably in a couple of weeks. In the meantime did you see what I wrote here?

@github-actions
Copy link
Contributor

github-actions bot commented May 3, 2022

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.

@andreahaku andreahaku force-pushed the feature/dapp_url_metamask_scheme branch from 0b38660 to 2dfc94c Compare May 3, 2022 13:29
@andreahaku andreahaku changed the title [IMPROVEMENT] Adds support for 'dapp/' urls support on 'metamask://' scheme [5.2][IMPROVEMENT] Adds support for 'dapp/' urls support on 'metamask://' scheme May 9, 2022
@andreahaku andreahaku added Priority - High Task with high priority and removed Priority - Low Task with low priority labels May 13, 2022
@andreahaku andreahaku changed the title [5.2][IMPROVEMENT] Adds support for 'dapp/' urls support on 'metamask://' scheme [5.2][IMPROVEMENT] Adds support for 'dapp/' urls support on 'metamask://' and fixes DL opening to Apple Store May 13, 2022
Copy link
Member

@cortisiko cortisiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to deep link using universal deep links and url scheme deep links on both iOS and Android. This guy is 🌮 🌮 🌮

@cortisiko cortisiko added QA Passed A successful QA run through has been done and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels May 13, 2022
@cortisiko cortisiko merged commit 87c669e into main May 13, 2022
@cortisiko cortisiko deleted the feature/dapp_url_metamask_scheme branch May 13, 2022 17:35
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2022
@tommasini tommasini added the release-5.2.0 Issue or pull request that will be included in release 5.2.0 label May 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Code Impact - Low Minor code change that can safely applied to the codebase Priority - High Task with high priority QA Passed A successful QA run through has been done release-5.2.0 Issue or pull request that will be included in release 5.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants