-
Notifications
You must be signed in to change notification settings - Fork 1
[Chore] : facebook sdk 설정 #190
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
Conversation
WalkthroughFacebook SDK를 프로젝트에 추가하고, 로컬 속성으로부터 Changes
Sequence Diagram(s)sequenceDiagram
participant Gradle as Gradle (build)
participant Local as Local Properties
participant Manifest as AndroidManifest.xml
participant App as App Runtime
participant FB as Facebook SDK
Note over Gradle,Local: 빌드 시
Gradle->>Local: read facebook.app.id / facebook.client.token
Local-->>Gradle: trimmed values
Gradle->>Manifest: inject manifestPlaceholders\nfacebookAppId, facebookClientToken
Gradle->>Gradle: add dependency (libs.facebook)
Note over App,FB: 앱 실행 흐름
App->>FB: init via Manifest meta-data\n(com.facebook.sdk.ApplicationId / ClientToken)
FB-->>App: ContentProvider 등록 및 SDK 초기화
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 분 변경은 빌드 설정, 버전 카탈로그, 매니페스트에 걸쳐 있으며 매니페스트의 export된 Provider 및 권한 제거는 보안·배포 영향 검토가 필요합니다. Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
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. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
app/build.gradle.kts(2 hunks)app/src/main/AndroidManifest.xml(3 hunks)gradle/libs.versions.toml(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: PR Checker
🔇 Additional comments (4)
gradle/libs.versions.toml (1)
63-63: 변경 사항이 좋습니다.Facebook SDK 버전 카탈로그 항목이 올바르게 추가되었습니다. 기존 항목들과 일치하는 형식을 따르고 있으며, 이후
app/build.gradle.kts에서libs.facebook으로 참조할 수 있도록 설정되었습니다.Also applies to: 167-167
app/build.gradle.kts (2)
36-42: 로컬 프로퍼티 설정 필요 확인하세요.Facebook App ID와 Client Token이
local.properties에서 읽혀 Manifest 플레이스홀더로 주입됩니다. PR 설명에서 언급했듯이 개발자가 로컬 프로퍼티에 이 값들을 추가했는지 확인해야 하며, 누락 시 빌드 단계에서 런타임 오류가 발생할 수 있습니다.
104-104: 변경 사항이 좋습니다.Facebook SDK 라이브러리가 버전 카탈로그를 통해 올바르게 추가되었습니다.
app/src/main/AndroidManifest.xml (1)
14-16: Firebase Analytics와의 영향 범위 검증이 필요합니다.
com.google.android.gms.permission.AD_ID권한 제거는 Firebase Analytics가 해당 권한을 사용하기 때문에 주의가 필요합니다. 앱이 Firebase Analytics를 사용하고 있으므로, 이 권한 제거로 인해 분석 데이터 수집이 영향을 받을 수 있습니다.권장사항: 권한 제거 대신 Application 태그 내에
google_analytics_adid_collection_enabled를 false로 설정하여 분석용 AD_ID 수집만 선택적으로 비활성화하는 방식을 고려해보세요.
chanubc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생많으셨습니다~!~!
✅ 𝗖𝗵𝗲𝗰𝗸-𝗟𝗶𝘀𝘁
📌 𝗜𝘀𝘀𝘂𝗲𝘀
📎𝗪𝗼𝗿𝗸 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻
📷 𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁
💬 𝗧𝗼 𝗥𝗲𝘃𝗶𝗲𝘄𝗲𝗿𝘀
로컬프로퍼티에 추가된 값 있습니다! 아래 노션 페이지 확인해주셔요~~
🔗
Summary by CodeRabbit