Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/firebase_app_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,9 @@ jobs:
run: chmod +x gradlew

- name: Create local.properties
env:
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
run: |
echo "sdk.dir=$ANDROID_SDK_ROOT" > local.properties
echo "sdk.dir=$ANDROID_SDK_ROOT" > app/local.properties
if [ -n "$KAKAO_NATIVE_APP_KEY" ]; then
echo "KAKAO_NATIVE_APP_KEY=$KAKAO_NATIVE_APP_KEY" >> local.properties
fi

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,7 @@ TEST_EMAIL=your_test_email@example.com
TEST_PASSWORD=your_test_password
```

**카카오 로그인 사용 시 (필수):**
카카오 로그인을 쓰려면 [Kakao Developers](https://developers.kakao.com)에서 앱의 **네이티브 앱 키**를 발급받은 뒤, 같은 `local.properties`에 다음을 추가하세요. 없으면 앱에서 "카카오 SDK가 초기화되지 않았습니다" 메시지가 표시됩니다.

```properties
KAKAO_NATIVE_APP_KEY=your_native_app_key_here
```

**배포 빌드(Firebase App Distribution 등):**
CI에서 빌드하는 APK에서도 카카오 로그인이 동작하게 하려면, GitHub 저장소 **Settings → Secrets and variables → Actions**에 `KAKAO_NATIVE_APP_KEY` 시크릿을 추가하세요. 워크플로에서 이 값을 `local.properties`에 넣어 빌드합니다.

> **참고**: `local.properties`는 `.gitignore`에 포함되어 있어 Git에 커밋되지 않습니다. 따라서 각 개발자/빌드 환경에서 위 값들을 직접 설정해야 합니다.
> **참고**: `local.properties`는 `.gitignore`에 포함되어 있어 Git에 커밋되지 않습니다.

### ⚠️ 중요: OS별 경로 하드코딩 금지

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading