Skip to content

온보딩 사진 화면에서 카메라 실행 시 SecurityException 크래시 #660

Closed

Description

@Sadturtleman

배경

Play Console 1.0.2(5) 사용자 인식 비정상 종료의 82%(9건/8명).
ImagePicker.launchCamera() 가 CAMERA 권한 확인 없이 TakePicture 를 실행한다. manifest 에 CAMERA 가 선언돼 있어(challenge:presentation) 권한 미허용 상태에서 ACTION_IMAGE_CAPTURE 를 띄우면 SecurityException 이 난다.

완료 조건

  • 카메라 실행 전 CAMERA 권한을 확인하고, 없으면 요청 후 허용 시에만 실행한다.
  • 거부 시 크래시 없이 아무 동작도 하지 않는다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions