Skip to content

Conversation

@ing03201
Copy link
Member

…een and update InternelCameraViewModel with capture functionality
@ing03201 ing03201 added this to the Phase 4 milestone Sep 22, 2025
@ing03201 ing03201 requested review from DokySp and fetiu September 22, 2025 12:26
@ing03201 ing03201 self-assigned this Sep 22, 2025
@ing03201 ing03201 added the feature/external feature-external label Sep 22, 2025
@DokySp DokySp changed the title [#45] Internal Camera 구현 및 실행 [#45] [CameraScreen] Internal Camera 구현 및 실행 Sep 23, 2025
@DokySp DokySp changed the title [#45] [CameraScreen] Internal Camera 구현 및 실행 [CameraScreen] Internal Camera 구현 및 실행 Sep 23, 2025
@DokySp DokySp changed the title [CameraScreen] Internal Camera 구현 및 실행 [#45] Internal Camera 구현 및 실행 Sep 23, 2025
@DokySp DokySp changed the title [#45] Internal Camera 구현 및 실행 Internal Camera 구현 및 실행 [#110] Sep 23, 2025
@DokySp DokySp added the feature/UI feature-ui label Sep 23, 2025

// network
const val WEB_SERVER_URL = "https://4cuts.store/"
const val WEB_SERVER_URL = "https://foke.clon.dev/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

base url 변경 건은 다른 리뷰로 올리면 좋을 것 같아요~

class ImageRepository @Inject constructor(
@ApplicationContext private val context: Context
@ApplicationContext private val context: Context,
private val getCameraSourceTypeUseCase: GetCameraSourceTypeUseCase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 의존성은 사용하지 않고 구조상 애매한 부분이 있어 일단 삭제하는게 좋을 것 같습니다~

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 삭제하였습니다

// TODO: 추후 세션 관리와 엮어서 처리하기
@Deprecated("Not in use")
fun getCapturedImageListUri(): List<Uri> = imageRepositoryInterface.getCachedImageUriList()
fun getCapturedImageListUri(sourceType: CameraSourceType): List<Uri> = imageRepositoryInterface.getCachedImageUriList(sourceType)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GeneratePhotoFrameUseCaseV1 을 deprecated한 이유가 Session으로 전환 작업을 위한 내용이었는데
아래 커밋 참고해보면 좋을 것 같습니다~

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 내용은 InternalCamera로 기존 기초적인 실행을 위해 인자를 추가했습니다.
Deprecated 된 함수인건 확인하고있습니다.

Copy link
Member

@DokySp DokySp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰했습니다~
아래 코멘트 확인 안된거 같은데 확인해주세요~

GeneratePhotoFrameUseCaseV1.kt

@ing03201 ing03201 merged commit f59275c into FoKE-Developers:main Sep 25, 2025
1 check passed
Copy link
Member

@fetiu fetiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제가 코드 구현 측면에서 리뷰드릴 것은 없는 것 같습니다.
수고 너무 많으셨습니다.

사소하게 URI 최신화 관련해서 댓글 달았으니 다음 PR 등에서 적용되었으면 좋겠네요!

MediaStore.Images.Media.DATE_ADDED
)
val selection = "${MediaStore.Images.Media.RELATIVE_PATH} LIKE ?"
val selectionArgs = arrayOf("%Pictures/4cuts/backup%")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: 4cuts 를 4cut 단수형으로 바꿀 필요가 있을까 궁금합니다!

val contentValues = ContentValues().apply {
put(MediaStore.MediaColumns.DISPLAY_NAME, "${fileName}.jpg")
put(MediaStore.MediaColumns.MIME_TYPE, "image/jpeg")
put(MediaStore.Images.Media.RELATIVE_PATH, "Pictures/4cuts/backup")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: 동일하게 cuts를 cut으로 바꿀 필요가 있을지 궁금합니다!

AppLog.d(TAG, "generateQRcode" ,"result: $result")

val downloadUrl: String = getDownloadUrlUseCase(sessionKey).getOrElse { "https://4cuts.store" }
val downloadUrl: String = getDownloadUrlUseCase(sessionKey).getOrElse { "https://foke.clon.dev" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

중요: 4cut.us 로 변경해야합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature/external feature-external feature/UI feature-ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants