Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/360 입장 확인 고도화 #363

Merged
merged 15 commits into from
Jan 14, 2025
Merged

Feature/360 입장 확인 고도화 #363

merged 15 commits into from
Jan 14, 2025

Conversation

HamBP
Copy link
Member

@HamBP HamBP commented Jan 9, 2025

Issue

작업 내용

  • 스낵 바 상단으로 위치 변경
  • 테두리 추가 적용
  • 인식 시 진동 추가
  • 전면 카메라 추가
KakaoTalk_Video_2025-01-09-22-50-26.mp4

@HamBP HamBP self-assigned this Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

Test Results

 9 files   9 suites   0s ⏱️
 8 tests  8 ✅ 0 💤 0 ❌
12 runs  12 ✅ 0 💤 0 ❌

Results for commit 7af0d0f.

♻️ This comment has been updated with latest results.

@HamBP HamBP requested a review from mangbaam January 9, 2025 14:01
@HamBP
Copy link
Member Author

HamBP commented Jan 9, 2025

전면 카메라 전환 시연 영상은 부끄러워서 안 넣었어

@@ -24,6 +30,7 @@ import kotlinx.coroutines.launch

@AndroidEntryPoint
class QrScanActivity : ComponentActivity() {
var isBackCamera = true
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.

private fun switchCamera() {
        barcodeView.pause()
        isBackCamera = !isBackCamera
        barcodeView.cameraSettings.requestedCameraId = if (isBackCamera) {
            Camera.CameraInfo.CAMERA_FACING_BACK
        } else {
            Camera.CameraInfo.CAMERA_FACING_FRONT
        }
        barcodeView.resume()
    }

지금 코드가 이렇게 되어 있고, 내 생각엔 없을 거 같긴 한데 혹시 더 좋은 방법이 있을까?

Copy link
Member Author

Choose a reason for hiding this comment

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

전면 카메라로 시작되면 그럴 수 있으려나...

Copy link
Member

@mangbaam mangbaam left a comment

Choose a reason for hiding this comment

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

LGTM

@HamBP HamBP merged commit a248006 into develop Jan 14, 2025
2 checks passed
@HamBP HamBP deleted the feature/360 branch January 14, 2025 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

입장 확인 고도화
2 participants