MetaMask / MetaMask/metamask-mobile

Mobile App in iOS Simulator won't connect to the network. Error: PollingBlockTracker

Open
#4,752 1 comment 0 reactions 0 assignees View on GitHub
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:

![Screen Shot 2022-07-28 at 10 19 43 PM](https://user-images.githubusercontent.com/1094216/181688012-fdebe09a-379e-4016-9d01-733f627f2afb.png)

I have updated the `.js.env` file with my infura API key:

```
export MM_INFURA_PROJECT_ID=""
```

What am I doing wrong?

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.