MetaMask / MetaMask/metamask-mobile
Browser not recognizing localStorage on iOS
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### **Description**
Our Dapp sets localStorage value for authentication check, but seems like metamask mobile app on iOS does not keep localStorage value. Confirmed it's working on Android. Is this a known case?
### **Technical Details**
We set value via `localStorage.setItem('walletId', walletId)`
but cannot read the value with `const wallet = localStorage.getItem("walletId");`
Contributor guide
Research direction
Start by reproducing the localStorage behavior in the MetaMask mobile iOS app using the reported walletId setItem and getItem calls, then compare it with Android. Done means determining whether iOS persistence is a known platform issue and documenting or addressing the cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native, typescript
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100