
Personnaliser
Documentation
General settings
The General section of setup.html covers the app-wide values that don't fit under any single subsystem — display name, version, coin economy, ad frequency, notification reminders.
All of these live in .env under the plain top-level keys.
App identity
| Key | What it does |
|---|---|
APP_NAME | The label under the icon on the home screen. Patched into Android's application android:label and iOS's CFBundleDisplayName. |
APP_VERSION_NAME | Marketing version, e.g. 1.0.0. |
APP_VERSION_CODE | Build number, integer. Increment for every store upload. |
APP_ANDROID_STORE_URL | Deep link used by the in-app "Rate us" button on Android. |
APP_IOS_STORE_URL | Same on iOS. |
APP_DEEPLINK_HOST | The custom scheme host used when sharing a logo. |
APP_CLOUD_SAVE_NAME | Firestore collection name used for cross-device progress sync. Change this if you're forking the app so you don't collide with the original. |
APP_LOCAL_DB_NAME | SQLite filename used on-device. |
Coin economy
Tune the whole game economy without touching Dart:
| Key | Default | What it does |
|---|---|---|
COINS_STARTING | 50 | Coins a fresh install starts with. |
COINS_PER_GUESS | 25 | Coins credited on a correct guess. |
COINS_DAILY_REWARD | 100 | Coins from the daily reward wheel. |
COINS_DAILY_REWARD_COOLDOWN_HOURS | 24 | Hours between two daily rewards. |
COINS_REWARDED_AD | 20 | Coins for watching a rewarded ad. |
COINS_HINT_REVEAL_LETTER | 20 | Cost of the "reveal a letter" hint. |
COINS_HINT_REMOVE_LETTER | 10 | Cost of the "remove a wrong letter" hint. |
COINS_HINT_SOLVE_QUIZ | 100 | Cost of the "solve this level" hint. |
Ads pacing
code
ADS_INTERSTITIAL_EVERY_N_GAMES=3Games between two interstitials. Lower = more revenue and worse retention; higher = the opposite. Watch your D1 and D7 retention curve before shipping a change.
Daily reminder
code
DAILY_REMINDER_HOUR=20
DAILY_REMINDER_MINUTE=0The app schedules a local notification at that time (24h clock, device time zone) reminding the player to come back and collect their daily reward. Set both to -1 to disable reminders entirely.
Précédent
Logs (Axiom)
Suivant
Icône de l'app