Skip to content

[FEATURE] SDK Session Persistence#5948

Merged
christopherferreira9 merged 66 commits intomainfrom
feature/sdk-persistence-ui
Mar 22, 2023
Merged

[FEATURE] SDK Session Persistence#5948
christopherferreira9 merged 66 commits intomainfrom
feature/sdk-persistence-ui

Conversation

@abretonc7s
Copy link
Copy Markdown
Contributor

@abretonc7s abretonc7s commented Mar 10, 2023

Description

Refactor of the SDKConnect class with added MM SDK "session persistence" feature.

SDK Session persistence allows a dApp to automatically reconnect a user to his MetaMask wallet without having to re-approve the connection. This is especially useful to improve the user experience when a user navigate.

New UI to manage SDK sessions moved from "Experimental" to "Advanced" settings of the app.

Added OTP management to secure dApp connection from QR-Code origin.

Current PR includes a copy of the MM SDK communication-layer protocol as the npm package hasn't been published yet.

Screenshots/Recordings
image
image

How to test
@christopherferreira9 has build the tools to develop "Session Persistence" on all platforms supported by MM SDK (JS desktop/mobile, iOS, Unity desktop/mobile) with versions of the SDK supporting session persistence and older versions not yet supporting it (to check retro-compatibility)

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Code Impact - Medium Average task code change that can relatively safely being applied to the codebase Priority - Medium Task with medium priority QA Passed QA testing has been completed and passed release-6.3.0 Issue or pull request that will be included in release 6.3.0 team-sdk-deprecated DEPRECATED: please use "team-wallet-integrations" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants