MetaMask / MetaMask/metamask-mobile
Mobile App in iOS Simulator won't connect to the network. Error: PollingBlockTracker
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### **Description**
I am trying to set up the metamask-mobile repository locally in order to debug an issue in my dapp. After running `yarn watch` and `yarn start:ios`, the simulator launches. After I open the MetaMask app and open the browser, I see the PollingBlockTracker error.
Error:

I have updated the `.js.env` file with my infura API key:
```
export MM_INFURA_PROJECT_ID=""
```
What am I doing wrong?
Contributor guide
Research direction
Reproduce the setup with `yarn watch` and `yarn start:ios`, then open the MetaMask browser in the iOS Simulator and inspect the PollingBlockTracker error. Check the `.js.env` Infura configuration; done means the simulator's browser connects to the network without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native, typescript
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100