Skip to content

About

안부 통화만으로 완성되는 부모님 맞춤형 건강 리포트

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

콜록 Android

Collog-iOS를 Kotlin(Jetpack Compose)으로 옮긴 안드로이드 앱입니다. 화면과 동작은 iOS와 같게 두었습니다. 옮기는 규칙은 PORTING.md에 있습니다.

flowchart LR
    subgraph AND["Collog-Android"]
        UI["Jetpack Compose<br/>Home, Reports<br/>Timeline, Settings"]
        AUTH["Google sign-in<br/>Credential Manager<br/>Android Keystore"]
        CALL["CallCenter<br/>core-telecom, FCM<br/>LiveKit SDK"]

        UI --> AUTH
        UI --> CALL
    end

    API["Collog-Server<br/>Auth, family, reports"]
    MEDIA["LiveKit<br/>Voice calls"]
    TTS["ElevenLabs<br/>Question audio"]
    STORAGE[("MinIO<br/>Audio storage")]

    UI <-->|OkHttp, REST API| API
    AUTH <-->|Sign-in, token refresh| API
    CALL <-->|Call API, FCM push| API
    CALL <-->|WebRTC| MEDIA
    CALL <-->|Speech streaming| TTS
    CALL -->|16 kHz PCM upload| STORAGE

    classDef screen fill:#14532d,stroke:#14532d,color:#fff
    classDef client fill:#dcfce7,stroke:#22c55e,color:#14532d
    classDef service fill:#eff6ff,stroke:#93c5fd,color:#1e3a8a
    classDef data fill:#f8fafc,stroke:#94a3b8,color:#334155
    class UI screen
    class AUTH,CALL client
    class API,MEDIA,TTS service
    class STORAGE data
    style AND fill:transparent,stroke:#cbd5e1,stroke-dasharray:5 5
Loading

iOS와 다른 점

  • 로그인은 Apple 대신 Google입니다. 같은 사람이 iOS와 Android로 각각 가입하면 계정이 따로 생깁니다.
  • 걸려 온 전화는 CallKit·PushKit 대신 Android Telecom(core-telecom)과 FCM 데이터 메시지로 받습니다.
  • 오늘의 질문은 iOS 온디바이스 모델(FoundationModels)에 대응하는 것이 없어 기본 질문 목록을 씁니다.

Build

JDK 17과 Android SDK Platform 37이 필요합니다.

./gradlew installDebug                                            # 운영 서버(https://api.collog.live)
./gradlew installDebug -Pcollog.apiBaseUrl=http://10.0.2.2:8080   # 에뮬레이터에서 로컬 서버
./gradlew testDebugUnitTest

Google 로그인과 FCM은 Firebase 설정 파일 app/google-services.json을 씁니다. 이 파일은 저장소에 넣지 않습니다. 파일 없이도 빌드와 체험 모드는 되지만, 전화 수신(FCM)은 동작하지 않습니다. Google 로그인만 켜려면 -Pcollog.googleWebClientId=<웹 클라이언트 ID>를 붙입니다.

서버의 Google 로그인(/v1/auth/google)과 FCM 발송은 Collog-Server#6에서 검토 중이며 아직 main에 들어가지 않았습니다.


© 2026 Team Raichu of LIKELION SeoulTech. All rights reserved.

About

안부 통화만으로 완성되는 부모님 맞춤형 건강 리포트

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages