[Feature] Enable Test Networks by default on Dev, E2E and PR builds (#19365)
This commit enables Test Networks in Dev, E2E and PR Builds by default and disables in Release/Nightly Builds. This enables in create account or restore account flow. If you upgrade the app from the old build with an existing profile, it will use the last saved (test networks enabled) state of that profile. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
495bc91989
commit
1d44472aa6
1
.env
1
.env
|
@ -34,3 +34,4 @@ STICKERS_TEST_ENABLED=1
|
||||||
LOCAL_PAIRING_ENABLED=1
|
LOCAL_PAIRING_ENABLED=1
|
||||||
TEST_STATEOFUS=1
|
TEST_STATEOFUS=1
|
||||||
FAST_CREATE_COMMUNITY_ENABLED=1
|
FAST_CREATE_COMMUNITY_ENABLED=1
|
||||||
|
TEST_NETWORKS_ENABLED=1
|
||||||
|
|
1
.env.e2e
1
.env.e2e
|
@ -33,3 +33,4 @@ TWO_MINUTES_SYNCING=1
|
||||||
STICKERS_TEST_ENABLED=1
|
STICKERS_TEST_ENABLED=1
|
||||||
LOCAL_PAIRING_ENABLED=1
|
LOCAL_PAIRING_ENABLED=1
|
||||||
FAST_CREATE_COMMUNITY_ENABLED=1
|
FAST_CREATE_COMMUNITY_ENABLED=1
|
||||||
|
TEST_NETWORKS_ENABLED=1
|
||||||
|
|
|
@ -35,3 +35,4 @@ ENABLE_QUO_PREVIEW=1
|
||||||
STICKERS_TEST_ENABLED=1
|
STICKERS_TEST_ENABLED=1
|
||||||
LOCAL_PAIRING_ENABLED=1
|
LOCAL_PAIRING_ENABLED=1
|
||||||
FAST_CREATE_COMMUNITY_ENABLED=1
|
FAST_CREATE_COMMUNITY_ENABLED=1
|
||||||
|
TEST_NETWORKS_ENABLED=1
|
||||||
|
|
|
@ -22,3 +22,4 @@ COMMUNITIES_ENABLED=1
|
||||||
DATABASE_MANAGEMENT_ENABLED=1
|
DATABASE_MANAGEMENT_ENABLED=1
|
||||||
DELETE_MESSAGE_ENABLED=1
|
DELETE_MESSAGE_ENABLED=1
|
||||||
FAST_CREATE_COMMUNITY_ENABLED=0
|
FAST_CREATE_COMMUNITY_ENABLED=0
|
||||||
|
TEST_NETWORKS_ENABLED=0
|
||||||
|
|
|
@ -20,3 +20,4 @@ MAX_IMAGES_BATCH=1
|
||||||
DELETE_MESSAGE_ENABLED=1
|
DELETE_MESSAGE_ENABLED=1
|
||||||
COLLECTIBLES_ENABLED=1
|
COLLECTIBLES_ENABLED=1
|
||||||
FAST_CREATE_COMMUNITY_ENABLED=0
|
FAST_CREATE_COMMUNITY_ENABLED=0
|
||||||
|
TEST_NETWORKS_ENABLED=0
|
||||||
|
|
|
@ -169,3 +169,4 @@
|
||||||
|
|
||||||
(def community-accounts-selection-enabled? true)
|
(def community-accounts-selection-enabled? true)
|
||||||
(def fetch-messages-enabled? (enabled? (get-config :FETCH_MESSAGES_ENABLED "1")))
|
(def fetch-messages-enabled? (enabled? (get-config :FETCH_MESSAGES_ENABLED "1")))
|
||||||
|
(def test-networks-enabled? (enabled? (get-config :TEST_NETWORKS_ENABLED "0")))
|
||||||
|
|
|
@ -44,7 +44,8 @@
|
||||||
:networkId config/default-network-id
|
:networkId config/default-network-id
|
||||||
:currentNetwork config/default-network
|
:currentNetwork config/default-network
|
||||||
:wakuV2LightClient false
|
:wakuV2LightClient false
|
||||||
:previewPrivacy config/blank-preview?})))
|
:previewPrivacy config/blank-preview?
|
||||||
|
:testNetworksEnabled config/test-networks-enabled?})))
|
||||||
|
|
||||||
(defn strip-file-prefix
|
(defn strip-file-prefix
|
||||||
[path]
|
[path]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||||
"owner": "status-im",
|
"owner": "status-im",
|
||||||
"repo": "status-go",
|
"repo": "status-go",
|
||||||
"version": "v0.177.0",
|
"version": "v0.177.1",
|
||||||
"commit-sha1": "894eb5758e8ff8f449312f92149f8698058d0fbb",
|
"commit-sha1": "158bd70c8914f27812d3dafb857d4d44256e3ed0",
|
||||||
"src-sha256": "1q0l7ndm6s4kai6zn86mka5fxk2hl60qhlhfy9wh9lrl6a62r15p"
|
"src-sha256": "0n94709ba0xiaidnz0zxps3sqssgh2c60bfg4hsy0wam3dy5jndc"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue