-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: sdk deeplinking protocol #9114
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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/sdk_conn #9114 +/- ##
=================================================
- Coverage 45.30% 45.29% -0.02%
=================================================
Files 1272 1273 +1
Lines 31285 31296 +11
Branches 3198 3202 +4
=================================================
+ Hits 14174 14175 +1
- Misses 16263 16271 +8
- Partials 848 850 +2 ☔ View full report in Codecov by Sentry. |
cae4d89
to
350a125
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
Bitrise✅✅✅ Commit hash: 56c200d Note
|
Bitrise❌❌❌ Commit hash: 198815b Note
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tests performed:
Compatibility with both communication formats was ensured. Observations: ChainId and selectedAddress are not currently being synced when using the deeplink communication since we haven't decided on what the behaviour should be when it comes to this flow as we don't want to deeplink to all available deeplink connection to let the Dapps know the selectedAddress or chainId was changed. |
Bitrise✅✅✅ Commit hash: 35c6938 Note
|
Quality Gate passedIssues Measures |
Description
Deep Linking Based Communication Layer for MetaMask iOS SDK
The objective is to introduce a MetaMask SDK communication layer for iOS that enables direct interaction between a mobile iOS DApp and the MetaMask Mobile app, bypassing the Socket.io server. This direct communication approach aims to enhance speed and reliability. Initially, this will be an optional feature, not the default setting, as it necessitates specific app customizations outlined in the document below.
Document that explain in detail the feature:
https://docs.google.com/document/d/1211R1kIQmhuUSox-nBXh1k1Dq64TrELNAR31QdSHJns/edit?usp=sharing
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Here there are all the flows:
Connect with Request
Connect and Sign
Normal Connection
and thenSign
Screen.Recording.2024-04-10.at.17.35.57.mov
Here there is a
Connection
and thenbatch RPC requests
:Screen.Recording.2024-04-10.at.17.34.32.mov
Pre-merge author checklist
Pre-merge reviewer checklist