Rebrand from Casera/MyCrib to honeyDue
Total rebrand across KMM project: - Kotlin package: com.example.casera -> com.tt.honeyDue (dirs + declarations) - Gradle: rootProject.name, namespace, applicationId - Android: manifest, strings.xml (all languages), widget resources - iOS: pbxproj bundle IDs, Info.plist, entitlements, xcconfig - iOS directories: Casera/ -> HoneyDue/, CaseraTests/ -> HoneyDueTests/, etc. - Swift source: all class/struct/enum renames - Deep links: casera:// -> honeydue://, .casera -> .honeydue - App icons replaced with honeyDue honeycomb icon - Domains: casera.treytartt.com -> honeyDue.treytartt.com - Bundle IDs: com.tt.casera -> com.tt.honeyDue - Database table names preserved Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.example.casera
|
||||
package com.tt.honeyDue
|
||||
|
||||
class JVMPlatform: Platform {
|
||||
override val name: String = "Java ${System.getProperty("java.version")}"
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.casera.analytics
|
||||
package com.tt.honeyDue.analytics
|
||||
|
||||
/**
|
||||
* JVM/Desktop implementation of PostHog Analytics.
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.casera.data
|
||||
package com.tt.honeyDue.data
|
||||
|
||||
import java.io.File
|
||||
import java.util.Properties
|
||||
@@ -12,7 +12,7 @@ actual class PersistenceManager {
|
||||
|
||||
init {
|
||||
val userHome = System.getProperty("user.home")
|
||||
val appDir = File(userHome, ".casera")
|
||||
val appDir = File(userHome, ".honeydue")
|
||||
if (!appDir.exists()) {
|
||||
appDir.mkdirs()
|
||||
}
|
||||
@@ -32,7 +32,7 @@ actual class PersistenceManager {
|
||||
|
||||
private fun saveProperties() {
|
||||
try {
|
||||
storageFile.outputStream().use { properties.store(it, "Casera Data Manager") }
|
||||
storageFile.outputStream().use { properties.store(it, "honeyDue Data Manager") }
|
||||
} catch (e: Exception) {
|
||||
// Ignore save errors
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
package com.example.casera
|
||||
package com.tt.honeyDue
|
||||
|
||||
import androidx.compose.ui.window.Window
|
||||
import androidx.compose.ui.window.application
|
||||
import com.casera.storage.TokenManager
|
||||
import com.casera.storage.TokenStorage
|
||||
import com.casera.storage.TaskCacheManager
|
||||
import com.casera.storage.TaskCacheStorage
|
||||
import com.honeydue.storage.TokenManager
|
||||
import com.honeydue.storage.TokenStorage
|
||||
import com.honeydue.storage.TaskCacheManager
|
||||
import com.honeydue.storage.TaskCacheStorage
|
||||
|
||||
fun main() = application {
|
||||
// Initialize TokenStorage with JVM TokenManager
|
||||
@@ -16,7 +16,7 @@ fun main() = application {
|
||||
|
||||
Window(
|
||||
onCloseRequest = ::exitApplication,
|
||||
title = "MyCrib",
|
||||
title = "honeyDue",
|
||||
) {
|
||||
App()
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.casera.network
|
||||
package com.tt.honeyDue.network
|
||||
|
||||
import io.ktor.client.*
|
||||
import io.ktor.client.engine.cio.*
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.casera.platform
|
||||
package com.tt.honeyDue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import com.example.casera.models.Contractor
|
||||
import com.tt.honeyDue.models.Contractor
|
||||
|
||||
@Composable
|
||||
actual fun ContractorImportHandler(
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.casera.platform
|
||||
package com.tt.honeyDue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import com.example.casera.models.Contractor
|
||||
import com.tt.honeyDue.models.Contractor
|
||||
|
||||
@Composable
|
||||
actual fun rememberShareContractor(): (Contractor) -> Unit {
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.casera.platform
|
||||
package com.tt.honeyDue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.remember
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.casera.platform
|
||||
package com.tt.honeyDue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.remember
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.casera.platform
|
||||
package com.honeydue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.casera.platform
|
||||
package com.tt.honeyDue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import com.example.casera.ui.subscription.UpgradeScreen
|
||||
import com.tt.honeyDue.ui.subscription.UpgradeScreen
|
||||
|
||||
@Composable
|
||||
actual fun PlatformUpgradeScreen(
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.example.casera.platform
|
||||
package com.tt.honeyDue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import com.example.casera.models.JoinResidenceResponse
|
||||
import com.tt.honeyDue.models.JoinResidenceResponse
|
||||
|
||||
/**
|
||||
* JVM implementation is a no-op - file imports are not supported on desktop.
|
||||
@@ -1,8 +1,8 @@
|
||||
package com.example.casera.platform
|
||||
package com.tt.honeyDue.platform
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.remember
|
||||
import com.example.casera.models.Residence
|
||||
import com.tt.honeyDue.models.Residence
|
||||
|
||||
/**
|
||||
* JVM implementation is a no-op - sharing is not supported on desktop.
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.casera.storage
|
||||
package com.tt.honeyDue.storage
|
||||
|
||||
import java.util.prefs.Preferences
|
||||
|
||||
@@ -47,7 +47,7 @@ actual class TaskCacheManager {
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val NODE_NAME = "com.casera.cache"
|
||||
private const val NODE_NAME = "com.honeydue.cache"
|
||||
private const val KEY_TASKS = "cached_tasks"
|
||||
private const val KEY_DIRTY_FLAG = "tasks_dirty"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.casera.storage
|
||||
package com.honeydue.storage
|
||||
|
||||
internal actual fun getPlatformTaskCacheManager(): TaskCacheManager? {
|
||||
return TaskCacheManager.getInstance()
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.casera.storage
|
||||
package com.honeydue.storage
|
||||
|
||||
import java.util.prefs.Preferences
|
||||
|
||||
@@ -23,7 +23,7 @@ actual class TokenManager {
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val PREFS_NODE = "com.casera.app"
|
||||
private const val PREFS_NODE = "com.honeyDue.treytartt.com"
|
||||
private const val KEY_TOKEN = "auth_token"
|
||||
|
||||
@Volatile
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.casera.storage
|
||||
package com.honeydue.storage
|
||||
|
||||
internal actual fun getPlatformTokenManager(): TokenManager? {
|
||||
return TokenManager.getInstance()
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.casera.ui.components.auth
|
||||
package com.tt.honeyDue.ui.components.auth
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
|
||||
Reference in New Issue
Block a user