refactor(db): ObjectBox 제거 및 Room으로 마이그레이션

- 최상위/app Gradle에서 ObjectBox 플러그인 제거
- PlaybackTracking을 Room Entity/DAO/Database로 전환
- Repository를 Room 기반으로 수정 및 Koin DI 주입 변경
This commit is contained in:
2025-10-22 16:25:32 +09:00
parent bc581d763b
commit 9b825ee244
8 changed files with 81 additions and 44 deletions

View File

@@ -1,14 +0,0 @@
package kr.co.vividnext.sodalive.common
import android.content.Context
import io.objectbox.BoxStore
import kr.co.vividnext.sodalive.audio_content.MyObjectBox
import kr.co.vividnext.sodalive.audio_content.PlaybackTracking
class ObjectBox(context: Context) {
private var store: BoxStore = MyObjectBox.builder()
.androidContext(context.applicationContext)
.build()
val playbackTrackingBox = store.boxFor(PlaybackTracking::class.java)
}