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:
1001
composeApp/src/commonMain/kotlin/com/tt/honeyDue/data/DataManager.kt
Normal file
1001
composeApp/src/commonMain/kotlin/com/tt/honeyDue/data/DataManager.kt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,34 @@
|
||||
package com.tt.honeyDue.data
|
||||
|
||||
/**
|
||||
* Platform-specific persistence manager for storing app data to disk.
|
||||
* Each platform implements this using their native storage mechanisms.
|
||||
*
|
||||
* Android: SharedPreferences
|
||||
* iOS: UserDefaults
|
||||
* JVM: Properties file
|
||||
* Wasm: LocalStorage
|
||||
*/
|
||||
@Suppress("NO_ACTUAL_FOR_EXPECT")
|
||||
expect class PersistenceManager {
|
||||
/**
|
||||
* Save a string value to persistent storage.
|
||||
*/
|
||||
fun save(key: String, value: String)
|
||||
|
||||
/**
|
||||
* Load a string value from persistent storage.
|
||||
* Returns null if the key doesn't exist.
|
||||
*/
|
||||
fun load(key: String): String?
|
||||
|
||||
/**
|
||||
* Remove a specific key from storage.
|
||||
*/
|
||||
fun remove(key: String)
|
||||
|
||||
/**
|
||||
* Clear all stored data.
|
||||
*/
|
||||
fun clear()
|
||||
}
|
||||
Reference in New Issue
Block a user