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

Feat/snaps system integration #6127

Closed
wants to merge 153 commits into from
Closed

Conversation

owencraston
Copy link
Contributor

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add needs-qa label when dev review is completed
  5. Add QA Passed label when QA has signed off

Description

Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions,
1. What is the reason for the change?
2. What is the improvement/solution?

Screenshots/Recordings

If applicable, add screenshots and/or recordings to visualize the before and after of your change

Issue

Progresses #???

Checklist

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

gantunesr and others added 20 commits February 14, 2023 13:14
…5923)

* Local snaps install with controller version 0.26.2
… iOS (#5926)

* Install a Snap From NPM iOS

- Create NPMLocation class
- Create a custom fetch function for the npm logic as we have slightly
  different logic
- create a swift native module to read a .tgz file and decompress it
- read the decompressed folder data and pass it to snaps
- swiftlint
- extract icon from tar file
- show request permissions for install snap and account access
- move snap webview to the root of the app and make it invisible
- create RPC method handlers to register snaps rpc methods
* swap for rn-fetch-blob

* remove unused file
@github-actions
Copy link
Contributor

github-actions bot commented Apr 5, 2023

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.

owencraston and others added 2 commits April 5, 2023 14:49
* Remove custom handlers and add PermissionMiddleware to SnapBridge RPC engine

* exportMnemonic

* Polyfill TextEncoder

* slightly better UX

* Add SnapMethodMiddleware to SnapBridge

* fetch files based on manifest location

* check source shasum

---------

Co-authored-by: Gustavo Antunes <[email protected]>
@owencraston owencraston changed the base branch from main to flask April 24, 2023 23:08
@owencraston owencraston marked this pull request as ready for review April 24, 2023 23:09
@owencraston owencraston requested a review from a team as a code owner April 24, 2023 23:09
@owencraston owencraston marked this pull request as draft April 24, 2023 23:20
@owencraston
Copy link
Contributor Author

I merged the changes from this branch into the flask branch in order to make the rebases easier.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants