status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.85k stars 984 forks source link

Add option to configure fleet in mobile e2e builds #20635

Open churik opened 4 days ago

churik commented 4 days ago

Problem

To test the staging nwaku fleet, we require an option to build an E2E build with a predefined fleet.

Previously, this could be configured using an environment variable at https://github.com/status-im/status-mobile/blob/ac4ffd83db223223f046e28f4382967e9a3cfcd5/.env.e2e#L5C7-L5C18 .

However, this method is no longer in use as the fleets are now retrieved in status-go at https://github.com/status-im/status-mobile/blob/01a503f3bf3df89a5b4d6fc62accd50b0a8e85de/modules/react-native-status/android/src/main/java/im/status/ethereum/module/StatusModule.kt#L85-L88.

Acceptance Criteria

Notes

Further discussion can be found here:

It is noted that on desktop, a special parameter --enable-fleet-selection is available, but I'm not sure that mecahnizm for mobile is the same.

churik commented 4 days ago

Blocker for testing changes on waku-staging fleet, communicated here