MetaMask / MetaMask/metamask-sdk
Remove react-native related dependencies
- Dominant language
- TypeScript
- Stars
- 338
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
# Feature Request
The react-native dependencies adds 200MB to npm installs (react-native-webview, react-native, @react-native-async-storage/async-storage). It's more than 10x bigger than any other dependency. This makes anything that uses this package to need 500mb+ in wasted storage. Can you please find a way to include this type of dependency without pulling in react-native packages?
## Why it is needed
Reduce slow npm install times and hugely wasted disk space since most projects won't be using react-native.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by tracing where the package declares react-native, react-native-webview, and @react-native-async-storage/async-storage, then determine how React Native support can remain available without installing them for other consumers. Done means npm installs no longer pull in those dependencies while the React Native integration still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- build-system, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100