From 0aff0497e6f5476c2e949b30b5e9f2ba373fb94d Mon Sep 17 00:00:00 2001 From: seaona Date: Fri, 10 Nov 2023 10:12:12 +0100 Subject: [PATCH] doc new envar --- .js.env.example | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) diff --git a/.js.env.example b/.js.env.example index 36e719bcd25..d938e553ec1 100644 --- a/.js.env.example +++ b/.js.env.example @@ -46,3 +46,6 @@ export MM_BLOCKAID_UI_ENABLED="" # Default PORT for metro export WATCHER_PORT=8081 + +# Environment: "production", "pre-release" or "local" +export METAMASK_ENVIRONMENT="" \ No newline at end of file diff --git a/README.md b/README.md index 10282cfdff6..d5f33020001 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ cd metamask-mobile ``` - _Non-MetaMask Only:_ Create an account and generate your own API key at [Infura](https://infura.io) in order to connect to main and test nets. Fill `MM_INFURA_PROJECT_ID` in `.js.env`. (App will run without it, but will not be able to connect to actual network.) - _Non-MetaMask Only:_ Fill `MM_SENTRY_DSN` in `.js.env` if you want the app to emit logs to your own Sentry project. +- Note: after updating env vars, make sure to run `source .js.env` on the root of the project - Install the app: ```