[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:
Mohamed Javid 2024-03-26 20:55:22 +05:30 committed by GitHub
parent 495bc91989
commit 1d44472aa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 11 additions and 4 deletions

1
.env
View File

@ -34,3 +34,4 @@ STICKERS_TEST_ENABLED=1
LOCAL_PAIRING_ENABLED=1
TEST_STATEOFUS=1
FAST_CREATE_COMMUNITY_ENABLED=1
TEST_NETWORKS_ENABLED=1

View File

@ -33,3 +33,4 @@ TWO_MINUTES_SYNCING=1
STICKERS_TEST_ENABLED=1
LOCAL_PAIRING_ENABLED=1
FAST_CREATE_COMMUNITY_ENABLED=1
TEST_NETWORKS_ENABLED=1

View File

@ -35,3 +35,4 @@ ENABLE_QUO_PREVIEW=1
STICKERS_TEST_ENABLED=1
LOCAL_PAIRING_ENABLED=1
FAST_CREATE_COMMUNITY_ENABLED=1
TEST_NETWORKS_ENABLED=1

View File

@ -22,3 +22,4 @@ COMMUNITIES_ENABLED=1
DATABASE_MANAGEMENT_ENABLED=1
DELETE_MESSAGE_ENABLED=1
FAST_CREATE_COMMUNITY_ENABLED=0
TEST_NETWORKS_ENABLED=0

View File

@ -20,3 +20,4 @@ MAX_IMAGES_BATCH=1
DELETE_MESSAGE_ENABLED=1
COLLECTIBLES_ENABLED=1
FAST_CREATE_COMMUNITY_ENABLED=0
TEST_NETWORKS_ENABLED=0

View File

@ -169,3 +169,4 @@
(def community-accounts-selection-enabled? true)
(def fetch-messages-enabled? (enabled? (get-config :FETCH_MESSAGES_ENABLED "1")))
(def test-networks-enabled? (enabled? (get-config :TEST_NETWORKS_ENABLED "0")))

View File

@ -44,7 +44,8 @@
:networkId config/default-network-id
:currentNetwork config/default-network
:wakuV2LightClient false
:previewPrivacy config/blank-preview?})))
:previewPrivacy config/blank-preview?
:testNetworksEnabled config/test-networks-enabled?})))
(defn strip-file-prefix
[path]

View File

@ -3,7 +3,7 @@
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
"owner": "status-im",
"repo": "status-go",
"version": "v0.177.0",
"commit-sha1": "894eb5758e8ff8f449312f92149f8698058d0fbb",
"src-sha256": "1q0l7ndm6s4kai6zn86mka5fxk2hl60qhlhfy9wh9lrl6a62r15p"
"version": "v0.177.1",
"commit-sha1": "158bd70c8914f27812d3dafb857d4d44256e3ed0",
"src-sha256": "0n94709ba0xiaidnz0zxps3sqssgh2c60bfg4hsy0wam3dy5jndc"
}