55 lines
2.4 KiB
Markdown
55 lines
2.4 KiB
Markdown
# 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.*` to `com.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:
|
|
1. Rename directory from `android/ShieldAI` to `android/Kordant`
|
|
2. Edit build.gradle.kts — update namespace, applicationId, API URLs
|
|
3. Edit settings.gradle.kts — update rootProject.name
|
|
4. Update all Kotlin package declarations from `com.shieldai.android` to `com.kordant`
|
|
5. Update all import statements referencing `com.shieldai.android.*` to `com.kordant.*`
|
|
6. Rename ShieldAIApp.kt → KordantApp.kt (update class name)
|
|
7. Rename ShieldAIDatabase.kt → KordantDatabase.kt (update class name and DATABASE_NAME)
|
|
8. Update AndroidManifest.xml — android:name, theme, app_name
|
|
9. Update strings.xml, themes.xml
|
|
10. Update Theme.kt — fun ShieldAITheme → fun KordantTheme
|
|
11. Update all storage keys from shieldai_* to kordant_*
|
|
12. 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
|