refactor: 데모 브랜치 패키지 통일 com.example.medilightv2android → com.medithings.vesiscan
사용자앱 (feature/tab-navigation) 과 패키지 이름 일치. namespace + applicationId 둘 다 com.medithings.vesiscan 로 변경 (기존 데모 앱은 재설치 필요). ## 변경 범위 - Kotlin 148 파일: package + import 문 (714 occurrences) - 디렉토리 이동: com/example/medilightv2android → com/medithings/vesiscan (main, test, androidTest 각각) - app/build.gradle.kts: namespace, applicationId - docs/FLAVOR_DEMO_STABLE.md: 참조 갱신 - V41DetectorCH4Test: BvDispatchResult.methodChosen → method (dto field name fix) ## 주의 - applicationId 가 바뀌므로 기존 데모 앱 (com.example.medilightv2android.demo) 은 Android 관점에서 다른 앱으로 취급 — 재설치 시 PIN/설정 초기화됨. - Fresh install 권장. 기존 앱 (com.example...) 은 별도로 uninstall 필요. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
| 항목 | demo | dev |
|
||||
|---|---|---|
|
||||
| 목적 | 시연/검증 — 결과 재현성 보장 | 개발 진행 — 모든 신규 기능/실험 |
|
||||
| applicationId | `com.example.medilightv2android.demo` | `com.example.medilightv2android` |
|
||||
| applicationId | `com.medithings.vesiscan.demo` | `com.medithings.vesiscan` |
|
||||
| 표시명 | VesiScan Demo | VesiScan Dev |
|
||||
| versionName suffix | `-demo` | (없음) |
|
||||
| BuildConfig.IS_DEMO | `true` | `false` |
|
||||
@@ -152,12 +152,12 @@ git add app/src/demo/ && git commit -m "Demo flavor: refresh freeze to v1.1"
|
||||
|
||||
```kotlin
|
||||
// 예: dev에만 Clinical 메뉴 노출
|
||||
if (com.example.medilightv2android.BuildConfig.IS_DEMO.not()) {
|
||||
if (com.medithings.vesiscan.BuildConfig.IS_DEMO.not()) {
|
||||
Button(onClick = { goClinicalHome() }) { Text("Clinical R&D") }
|
||||
}
|
||||
|
||||
// 예: demo에서는 항상 fixed parameter
|
||||
val maxVolume = if (com.example.medilightv2android.BuildConfig.IS_DEMO) {
|
||||
val maxVolume = if (com.medithings.vesiscan.BuildConfig.IS_DEMO) {
|
||||
500 // 동결 기본값
|
||||
} else {
|
||||
appState.piezoSettings.maxVolume // 사용자 조정 허용
|
||||
|
||||
Reference in New Issue
Block a user