Skip to content

네이버 맵 SDK 인증 키 태그명 수정 (CLIENT_ID → NCP_KEY_ID)#371

Merged
unam98 merged 1 commit intodevelopfrom
feature/fix-naver-map-auth
Apr 2, 2026
Merged

네이버 맵 SDK 인증 키 태그명 수정 (CLIENT_ID → NCP_KEY_ID)#371
unam98 merged 1 commit intodevelopfrom
feature/fix-naver-map-auth

Conversation

@unam98
Copy link
Copy Markdown
Collaborator

@unam98 unam98 commented Apr 2, 2026

작업 배경

  • 의존성 최신화(3.22.1 → 3.23.2) 후 네이버 지도에서 "Authorization failed: [401] Unauthorized client" 에러 발생
  • NCP(Naver Cloud Platform) 기반 인증 방식에서는 CLIENT_ID가 아닌 NCP_KEY_ID 태그명을 사용해야 함

변경 사항

  • AndroidManifest.xml: meta-data 태그명 com.naver.maps.map.CLIENT_IDcom.naver.maps.map.NCP_KEY_ID
  • 참고: 공식 문서, NCP 포럼

영향 범위

  • AndroidManifest.xml 1줄 변경
  • 지도 사용 화면: DrawActivity, RunActivity, CourseMainFragment
  • 런타임 영향: 지도 인증 정상화

Test Plan

  • 실기기에서 지도 로딩 정상 확인
  • ./gradlew assembleDebug 빌드 성공

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated Naver Maps configuration key format to ensure compatibility with current SDK versions and maintain proper service integration.

- com.naver.maps.map.CLIENT_ID → com.naver.maps.map.NCP_KEY_ID
- NCP(Naver Cloud Platform) 기반 인증 방식에 맞는 태그명으로 변경
- 참고: https://navermaps.github.io/android-map-sdk/guide-ko/1.html
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The Android manifest configuration for Naver Maps is updated by changing the meta-data key from com.naver.maps.map.CLIENT_ID to com.naver.maps.map.NCP_KEY_ID. The value placeholder remains unchanged.

Changes

Cohort / File(s) Summary
Naver Maps Configuration
app/src/main/AndroidManifest.xml
Updated meta-data key from CLIENT_ID to NCP_KEY_ID for Naver Maps integration, reflecting API naming convention update.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🗺️ A key renamed in the manifest's home,
Where Naver's maps once roamed with CLIENT_ID chrome,
NCP_KEY_ID now takes its place with grace,
The treasure map updated, in its rightful space! 🐰✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the Naver Maps SDK authentication key tag name from CLIENT_ID to NCP_KEY_ID in AndroidManifest.xml, which directly matches the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/fix-naver-map-auth

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@unam98 unam98 self-assigned this Apr 2, 2026
@unam98 unam98 merged commit 833e20f into develop Apr 2, 2026
2 checks passed
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