MetaMask / MetaMask/metamask-mobile
interrupting downloading Metamask in AppStore
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### What is this about?
HI!
I have the problem
When a user who does not have MetaMask installed clicks the "Connect Metamask" button, they are redirected to the App Store or Play Store to download MetaMask. However, if the user closes the App Store tab (interrupting the process), the button becomes unresponsive, and users are unable to click it again to attempt the connection.
I use nextjs and @metamask/sdk-react-ui and it`s component:
`const { ready, connected, account } = useSDK();
{ready ? (
) : (
Connect Metamask
)}
`
Can someone help me to solve to make the button work even when user close appstore?
### Scenario
_No response_
### Design
_No response_
### Technical Details
_No response_
### Threat Modeling Framework
_No response_
### Acceptance Criteria
_No response_
### Stakeholder review needed before the work gets merged
- [x] Engineering (needed in most cases)
- [ ] Design
- [ ] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)
### References
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the flow using the mentioned MetaMaskButton component with @metamask/sdk-react-ui: close the App Store or Play Store after the redirect and try connecting again. Trace the MetaMaskButton and SDK state involved in that flow; done means the button becomes usable again after the store tab is closed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100