Skip to content

Commit 9e00713

Browse files
committed
chore: update README
1 parent 87b47a8 commit 9e00713

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ This repository contains a **new native Android app** which is **not ready for p
1515

1616
### Prerequisites
1717

18-
#### 1. Download `google-services.json` to `app/` from FCM Console.
18+
#### 1. Firebase Configuration
19+
20+
Download `google-services.json` from the Firebase Console for each build flavor:
21+
- **Dev/Testnet**: Place in `app/` (default location)
22+
- **Mainnet**: Place in `app/src/mainnet/google-services.json`
23+
24+
> **Note**: Each flavor requires its own Firebase project configuration. The mainnet flavor will fail to build without its dedicated `google-services.json` file.
1925
2026
#### 2. GitHub Packages setup
2127

@@ -100,6 +106,17 @@ The build config supports building 3 different apps for the 3 bitcoin networks (
100106
- `mainnet` flavour = mainnet
101107
- `tnet` flavour = testnet
102108

109+
### Build for Mainnet
110+
111+
To build the mainnet flavor:
112+
113+
```sh
114+
./gradlew assembleMainnetDebug # debug build
115+
./gradlew assembleMainnetRelease # release build (requires signing config)
116+
```
117+
118+
> **Important**: Ensure `app/src/mainnet/google-services.json` exists before building. See [Firebase Configuration](#1-firebase-configuration).
119+
103120
### Build for E2E Testing
104121

105122
Simply pass `E2E=true` as environment variable and build any flavor.

0 commit comments

Comments
 (0)