Skip to content

fix : 권한 설명 누락 추가#133

Open
caseBread wants to merge 1 commit into
mainfrom
fix/permission-text-add
Open

fix : 권한 설명 누락 추가#133
caseBread wants to merge 1 commit into
mainfrom
fix/permission-text-add

Conversation

@caseBread

@caseBread caseBread commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • expo-location, expo-media-library 플러그인에 권한 설명 문구 추가 (위치 정보, 사진첩 저장)
  • expo-image-picker에서 microphonePermission: false 추가

@caseBread caseBread requested review from JioCoder and peisonger June 12, 2026 12:04
@caseBread caseBread self-assigned this Jun 12, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request configures permissions for expo-location, expo-media-library, and expo-image-picker in app.config.js. Feedback points out that locationAlwaysPermission and isAndroidBackgroundLocationEnabled are invalid options for the expo-location plugin, and suggests adding the necessary background location permissions directly to android.permissions instead.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread app.config.js
Comment on lines +77 to +89
[
"expo-location",
{
locationWhenInUsePermission:
"내 위치 기반 코스 추천 및 현재 위치 표시를 위해 위치 정보 접근이 필요합니다.",
locationAlwaysAndWhenInUsePermission:
"코스 추적 중 앱이 백그라운드에 있어도 위치를 기록하기 위해 항상 위치 접근 권한이 필요합니다.",
locationAlwaysPermission:
"코스 추적 중 앱이 백그라운드에 있어도 위치를 기록하기 위해 항상 위치 접근 권한이 필요합니다.",
isIosBackgroundLocationEnabled: true,
isAndroidBackgroundLocationEnabled: true,
},
],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

expo-location 설정 플러그인에서 locationAlwaysPermissionisAndroidBackgroundLocationEnabled 속성은 존재하지 않는 잘못된 옵션입니다.

  • iOS의 "항상 허용" 권한 설명은 locationAlwaysAndWhenInUsePermission 속성을 통해 설정됩니다.
  • Android의 백그라운드 위치 권한은 expo-location 플러그인 옵션이 아니라, android.permissions 배열에 "ACCESS_BACKGROUND_LOCATION"을 직접 추가해야 적용됩니다.

현재 app.config.js 56라인에 permissions: []로 비어 있어 Android 빌드 시 위치 권한이 누락될 수 있습니다. Android에서도 정상적으로 백그라운드 위치 추적이 작동하려면 android.permissions에 아래 권한들을 추가해 주셔야 합니다:

  • "ACCESS_COARSE_LOCATION"
  • "ACCESS_FINE_LOCATION"
  • "ACCESS_BACKGROUND_LOCATION"
    [
      "expo-location",
      {
        locationWhenInUsePermission:
          "내 위치 기반 코스 추천 및 현재 위치 표시를 위해 위치 정보 접근이 필요합니다.",
        locationAlwaysAndWhenInUsePermission:
          "코스 추적 중 앱이 백그라운드에 있어도 위치를 기록하기 위해 항상 위치 접근 권한이 필요합니다.",
        isIosBackgroundLocationEnabled: true,
      },
    ]

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.

1 participant