-
Notifications
You must be signed in to change notification settings - Fork 563
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
Remove endowment:long-running from Snap APIs #945
Remove endowment:long-running from Snap APIs #945
Comments
We need to come up with the list of features/aspects for v1 API. This should also be an epic that contains all the related features. We'll move this to the product backlog until we have that complete list. |
Long running / background snaps are useful. Some of previous hackathon winners required that permission. Examples uses:
Though this permission is too broad, we need to figure out how to allow those usages to exist while removing this permission. A good starting point is how iOS manages background tasks.
Also see Background Modes |
|
Still supported in Flask until we have a better alternative |
From standup:
|
## **Description** This PR removes `long-running` Snap endowment/permission. Snaps team have decided to remove this endowment because of its unpredictable security concerns around running Snaps indefinitely. This endowment is removed in favor of the new endowments that will be focused on solving certain use cases that require snap to be running for more time than default. ## **Related issues** _Fixes [#945](MetaMask/snaps#945 ## **Related PR** MetaMask/snaps#1751 (**required**) MetaMask/metamask-docs#919 ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've clearly explained: - [ ] What problem this PR is solving. - [ ] How this problem was solved. - [ ] How reviewers can test my changes. - [ ] I’ve indicated what issue this PR is linked to: Fixes #??? - [ ] I’ve included tests if applicable. - [ ] I’ve documented any added code. - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). - [ ] I’ve properly set the pull request status: - [ ] In case it's not yet "ready for review", I've set it to "draft". - [ ] In case it's "ready for review", I've changed it from "draft" to "non-draft". ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Each API available to snaps should be reviewed for consistency, cross-platform compatibility, maintainability, and usability ahead of our planned v1 release. This includes:
Known issues/open questions include:
endowment:long-running
The text was updated successfully, but these errors were encountered: