2.4 KiB
2.4 KiB
10. Update Android App Branding
meta: id: rebrand-to-kordant-10 feature: rebrand-to-kordant priority: P1 depends_on: [rebrand-to-kordant-01] tags: [android, mobile]
objective:
- Update all ShieldAI branding in the Android app: package names, Kotlin source files, resources, build config, and class names.
deliverables:
- android/ShieldAI/ directory renamed to android/Kordant/
- build.gradle.kts — namespace, applicationId, and API URLs updated
- settings.gradle.kts — rootProject.name updated
- All Kotlin source files — package declarations updated from
com.shieldai.android.*tocom.kordant.* - ShieldAIApp.kt renamed to KordantApp.kt
- ShieldAIDatabase.kt renamed to KordantDatabase.kt — DATABASE_NAME updated
- All import statements across ~70+ Kotlin files updated
- AndroidManifest.xml — app class name, theme references updated
- strings.xml — app_name updated
- themes.xml — style name updated
- Storage key strings updated (shieldai_database, shieldai_auth_prefs, shieldai_biometric_prefs)
- UI display text strings updated (ShieldAI → Kordant)
- Theme.kt — ShieldAITheme fun renamed to KordantTheme
steps:
- Rename directory from
android/ShieldAItoandroid/Kordant - Edit build.gradle.kts — update namespace, applicationId, API URLs
- Edit settings.gradle.kts — update rootProject.name
- Update all Kotlin package declarations from
com.shieldai.androidtocom.kordant - Update all import statements referencing
com.shieldai.android.*tocom.kordant.* - Rename ShieldAIApp.kt → KordantApp.kt (update class name)
- Rename ShieldAIDatabase.kt → KordantDatabase.kt (update class name and DATABASE_NAME)
- Update AndroidManifest.xml — android:name, theme, app_name
- Update strings.xml, themes.xml
- Update Theme.kt — fun ShieldAITheme → fun KordantTheme
- Update all storage keys from shieldai_* to kordant_*
- Update all UI display text (ComponentShowcase, AuthScreen, BiometricAuthScreen)
tests:
- Build: Android project builds successfully
- Unit: All Android tests pass
acceptance_criteria:
- Android project compiles without errors
- Application ID is
com.kordant.* - No "ShieldAI" or "shieldai" remains in any Kotlin source, XML resource, or build config
- Database name uses "kordant_database"
validation:
- Run
grep -rn "ShieldAI\|shieldai\|com\.shieldai" android/Kordant/— expect zero - Open project in Android Studio, verify build succeeds