-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Problem
The GitHub Actions release workflow (android-debug-build-release.yml) builds the APK with vite build --mode production, but there is no .env.production file committed — only .env.production.example. This means VITE_GATEKEEPER_URL is undefined in the built APK.
On a physical device, the app can't reach any Gatekeeper and renders a blank screen. (.env.android uses 10.0.2.2 which only works in the Android emulator.)
Options
- Commit a
.env.productionwith a default public Gatekeeper URL (e.g.https://4tress.org) - Use GitHub Actions secrets to inject
VITE_GATEKEEPER_URLat build time - Change
android:buildto use--mode androidand update.env.androidwith a public URL - Add a settings screen in the app so users can configure the Gatekeeper URL at runtime
Files
.github/workflows/android-debug-build-release.yml— build workflowapps/react-wallet/.env.android— emulator-only config (10.0.2.2)apps/react-wallet/.env.production.example— template, not used in buildapps/react-wallet/package.json—android:buildscript uses--mode production
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels