Complete step-by-step checklist for white-labeling and configuring the news application for new clients.
| Parameter | Old (Source) Value | New (Client) Value | File Reference |
|---|---|---|---|
| App ID | com.old.newsapp | com.client.name | build.gradle.kts |
| App Label | Source News | Client Daily | AndroidManifest.xml |
| Blogger ID | 84920411... | Required | .env |
| Firebase JSON | project-old-123 | project-client-abc | google-services.json |
applicationId under defaultConfig and change it.namespace at the top of the file and match it with applicationId.src/main/kotlin/ matches the new package name.# Automation Command (If plugin exists)
flutter pub run change_app_package_name:main com.newclient.appname
android:label="App Name" to client's preferred name.assets/images/logo.png with the new 1024x1024 transparent PNG.flutter pub get
flutter pub run flutter_launcher_icons
splash_screen.dart for hardcoded colors or logos.google-services.json and place it in android/app/.google-services.json ko delete karna na bhoolein, warna build conflict ho sakta hai.ADMOB_APP_ID in AndroidManifest.xml and .env.# AndroidManifest.xml Meta-Data
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
Ensure the client hosts the app-ads.txt on their website's root domain.
Har client ke liye ek fresh JKS file hona mandatory hai.
keytool -genkey -v -keystore client_key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
storePassword=password123
keyPassword=password123
keyAlias=key
storeFile=client_key.jks
Update versionCode (e.g., 1) and versionName (e.g., 1.0.0) in build.gradle.
flutter clean
flutter pub get
flutter build appbundle --release
build/app/outputs/bundle/release/ folder check karein.