-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ANDROID] Invalid value for 'projectId': "undefined" #1984
Comments
hey @DefiOfThrones can you follow this format in your |
I have encountered same issue. I did some digging. This started to occurring at this commit (infura v3 update) c74ce89. It started occurring because infura now throws exception if
Root cause seems to be that .ios.env (and or .android.env, .js.env) variables are not being loaded
even when changing .ios.env, .android.env, .js.env to
with or without This is as far as I got, could not figure out why Update: Upon further investigation I had to remove
running
|
…id] [iOS] ref: MetaMask#1984 Since infura 5.x.x empty string is invalid project id. Exception is thrown at launch `[Error: Invalid value for 'projectId': "undefined"] `. This leads to confusion for Non-Metamask users who try to get the project compiled. Changing default value to `MM_INFURA_PROJECT_ID="null"` will stop the exception. Restores behaviour to prior infura update. Non-Metamask users will still not be able to connect to any network. I make a note of this is README.md (cherry picked from commit 4a3b463b936fb3d3f5ba02259a516db81a584016)
…id] [iOS] (#2051) ref: #1984 Since infura 5.x.x empty string is invalid project id. Exception is thrown at launch `[Error: Invalid value for 'projectId': "undefined"] `. This leads to confusion for Non-Metamask users who try to get the project compiled. Changing default value to `MM_INFURA_PROJECT_ID="null"` will stop the exception. Restores behaviour to prior infura update. Non-Metamask users will still not be able to connect to any network. I make a note of this is README.md (cherry picked from commit 4a3b463b936fb3d3f5ba02259a516db81a584016)
Hope this fix " No bulder URL present " for iOs |
…id] [iOS] (#2051) ref: MetaMask/metamask-mobile#1984 Since infura 5.x.x empty string is invalid project id. Exception is thrown at launch `[Error: Invalid value for 'projectId': "undefined"] `. This leads to confusion for Non-Metamask users who try to get the project compiled. Changing default value to `MM_INFURA_PROJECT_ID="null"` will stop the exception. Restores behaviour to prior infura update. Non-Metamask users will still not be able to connect to any network. I make a note of this is README.md (cherry picked from commit 4a3b463b936fb3d3f5ba02259a516db81a584016)
Hello I'm trying to start a debug build of Metamask Android version but I'm facing an issue and I don't find any way to contact the Metamask Community (if there is one).
Describe the bug
Here is the exact error : [Error: Invalid value for 'projectId': "undefined"]
I suspect the fact that I didn't fill the file .android.env with but I'm not sure.
export MM_FOX_CODE=
export MM_BRANCH_KEY_TEST=
export MM_BRANCH_KEY_LIVE=
export MM_MIXPANEL_TOKEN=
If the issue is related, where can I find the values ?
Screenshots
To Reproduce
Expected behavior
The app starts correctly.
Smartphone (please complete the following information):
to be added after bug submission by internal support / PM
Severity
The text was updated successfully, but these errors were encountered: