MetaMask / MetaMask/metamask-mobile
Shared Array Buffer unavailable on android metamask in-app browser
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
**Describe the bug**
SharedArrayBuffer is a powerful feature that enables us to use WebWorkers at maximum capacity.
This feature works fine on IOS (chrome and metamask browser) but in android works only on google chrome (unavailable on metamask browser)
**Screenshots**
_If applicable, add screenshots or links to help explain your problem_
**To Reproduce**
_Steps to reproduce the behavior_
1. Go to 'any website that uses sharedArrayBuffer (like [demo.oxydev.co](demo.oxydev.co) or [alpha.sougen.co](alpha.sougen.co)) in google chrome and metamask in-app browser in android and ios'
2. on ios both works fine. but in android google chrome works but IOS doesn’t work
**Expected behavior**
should work like google chrome
**Smartphone (please complete the following information):**
- Device: any android phone
- OS: Android 11 and Android 10
- App Version - 5.6.0
-------------------------------------------------------------
_to be added after bug submission by internal support / PM_
**Severity**
- How critical is the impact of this bug on a user?
- Add stats if available on % of customers impacted
- Is this visible to all users?
- Is this tech debt?
Contributor guide
Research direction
Start by reproducing the SharedArrayBuffer behavior on Android 10/11 in the MetaMask in-app browser, comparing it with Google Chrome and iOS using the linked demo sites. Clarify whether Android or iOS is failing, then identify the mobile browser entry point responsible; done means the expected SharedArrayBuffer behavior works consistently in the affected environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript, react-native, typescript
- Domain
- mobile, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100