Skip to content

Release 0.3.2 to develop#113

Merged
DongChyeon merged 2 commits into
developfrom
release/0.3.2
May 11, 2026
Merged

Release 0.3.2 to develop#113
DongChyeon merged 2 commits into
developfrom
release/0.3.2

Conversation

@DongChyeon
Copy link
Copy Markdown
Member

@DongChyeon DongChyeon commented May 11, 2026

๐Ÿ›  Related issue

closed #<issue_number>

์–ด๋–ค ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ์žˆ์—ˆ๋‚˜์š”?

  • ๐Ÿž BugFix Something isn't working
  • ๐ŸŽจ Design Markup & styling
  • ๐Ÿ“ƒ Docs Documentation writing and editing (README.md, etc.)
  • โœจ Feature Feature
  • ๐Ÿ”จ Refactor Code refactoring
  • โš™๏ธ Setting Development environment setup
  • โœ… Test Test related (Junit, etc.)

โœ… CheckPoint

PR์ด ๋‹ค์Œ ์š”๊ตฌ ์‚ฌํ•ญ์„ ์ถฉ์กฑํ•˜๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.

  • PR ์ปจ๋ฒค์…˜์— ๋งž๊ฒŒ ์ž‘์„ฑํ–ˆ์Šต๋‹ˆ๋‹ค. (ํ•„์ˆ˜)
  • mergeํ•  ๋ธŒ๋žœ์น˜์˜ ์œ„์น˜๋ฅผ ํ™•์ธํ•ด ์ฃผ์„ธ์š”(mainโŒ/developโญ•) (ํ•„์ˆ˜)
  • Approve๋œ PR์€ assigner๊ฐ€ ๋จธ์ง€ํ•˜๊ณ , ์ˆ˜์ • ์š”์ฒญ์ด ์˜จ ๊ฒฝ์šฐ ์ˆ˜์ • ํ›„ ๋‹ค์‹œ push๋ฅผ ํ•ฉ๋‹ˆ๋‹ค. (ํ•„์ˆ˜)
  • BugFix์˜ ๊ฒฝ์šฐ, ๋ฒ„๊ทธ์˜ ์›์ธ์„ ํŒŒ์•…ํ•˜์˜€์Šต๋‹ˆ๋‹ค. (์„ ํƒ)

โœ๏ธ Work Description

  • ์ž‘์—… ๋‚ด์šฉ

๐Ÿ˜… Uncompleted Tasks

  • Task1

๐Ÿ“ข To Reviewers

๐Ÿ“ƒ RCA ๋ฃฐ

  • R: ๊ผญ ๋ฐ˜์˜ํ•ด ์ฃผ์„ธ์š”. ์ ๊ทน์ ์œผ๋กœ ๊ณ ๋ คํ•ด ์ฃผ์„ธ์š”. (Request changes)
  • C: ์›ฌ๋งŒํ•˜๋ฉด ๋ฐ˜์˜ํ•ด ์ฃผ์„ธ์š”. (Comment)
  • A: ๋ฐ˜์˜ํ•ด๋„ ์ข‹๊ณ  ๋„˜์–ด๊ฐ€๋„ ์ข‹์Šต๋‹ˆ๋‹ค. ๊ทธ๋ƒฅ ์‚ฌ์†Œํ•œ ์˜๊ฒฌ์ž…๋‹ˆ๋‹ค. (Approve)

Summary by CodeRabbit

๋ณ€๊ฒฝ ์‚ฌํ•ญ

  • ๊ฐœ์„  ์‚ฌํ•ญ
    • ์•ฑ์ด ๋ฒ„์ „ 0.3.2๋กœ ์—…๋ฐ์ดํŠธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
    • ๋ถ„์„ ์‹œ์Šคํ…œ์ด ๊ฐœ์„ ๋˜์–ด ๋” ์ •ํ™•ํ•œ ์‚ฌ์šฉ ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Review Change Stack

DongChyeon and others added 2 commits May 11, 2026 23:39
track ์‹œ super properties๋ฅผ ํ•จ๊ป˜ ์ถœ๋ ฅํ•˜๊ณ , identify๋กœ user_id๋ฅผ ๊ฐฑ์‹ 

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 11, 2026

๊ฐœ์š”

์•ฑ ๋ฒ„์ „์„ 0.3.2๋กœ ์—…๋ฐ์ดํŠธํ•˜๋ฉด์„œ ๋ถ„์„ ์‹œ์Šคํ…œ์„ ๊ฐœ์„ ํ–ˆ์Šต๋‹ˆ๋‹ค. DebugAnalytics๊ฐ€ ์•ฑ ๋ฒ„์ „์„ ๋ฐ›์•„ ์ €์žฅํ•˜๊ณ , ์‚ฌ์šฉ์ž ID๋ฅผ ์ถ”์ ํ•˜์—ฌ ๋กœ๊น… ์ •๋ณด๋ฅผ ๊ฐ•ํ™”ํ•ฉ๋‹ˆ๋‹ค. DI ๋ชจ๋“ˆ์ด ํŒจํ‚ค์ง€ ์ •๋ณด์—์„œ ๋ฒ„์ „์„ ๊ณ„์‚ฐํ•˜์—ฌ ์ „๋‹ฌํ•˜๊ณ , ViewModel์ด ์ถ”๊ฐ€ ๋””๋ฒ„๊ทธ ๋กœ๊น…์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

๋ณ€๊ฒฝ์‚ฌํ•ญ

๋ถ„์„ ์ถ”์  ๊ฐœ์„ 

๊ณ„์ธต / ํŒŒ์ผ ์š”์•ฝ
DebugAnalytics ์ƒํƒœ ๋ฐ ๊ณ„์•ฝ
core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/DebugAnalytics.kt
DebugAnalytics ์ƒ์„ฑ์ž๊ฐ€ appVersion ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋ฐ›๊ณ  ๋‚ด๋ถ€์ ์œผ๋กœ userId๋ฅผ null๋กœ ์ดˆ๊ธฐํ™”ํ•ฉ๋‹ˆ๋‹ค. track()์€ ํ”Œ๋žซํผ, ์•ฑ ๋ฒ„์ „, ํ˜„์žฌ userId๋ฅผ ํฌํ•จํ•œ superProps์™€ ํ•จ๊ป˜ ์ด๋ฒคํŠธ๋ฅผ ๋กœ๊น…ํ•ฉ๋‹ˆ๋‹ค. identify()๋Š” userId๋ฅผ ๋‚ด๋ถ€ ์ƒํƒœ์— ์ €์žฅํ•œ ํ›„ ๋กœ๊น…ํ•ฉ๋‹ˆ๋‹ค.
๋ถ„์„ DI ๋ชจ๋“ˆ ์„ค์ •
core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/di/AnalyticsModule.kt
provideAnalytics()๊ฐ€ packageManager์—์„œ appVersion์„ ๊ณ„์‚ฐํ•˜๊ณ , ๋””๋ฒ„๊ทธ ๋นŒ๋“œ์—๋Š” DebugAnalytics(appVersion)๋กœ, ๋ฆด๋ฆฌ์Šค ๋นŒ๋“œ์—๋Š” MixpanelAnalytics(mixpanel, appVersion)๋กœ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค.
ViewModel ์‚ฌ์šฉ์ž ID ๋กœ๊น…
app/src/main/java/com/sseotdabwa/buyornot/ui/BuyOrNotViewModel.kt
Log ํด๋ž˜์Šค๋ฅผ ์ž„ํฌํŠธํ•˜๊ณ , userId ๋ณ€๊ฒฝ ์‹œ ๋””๋ฒ„๊ทธ ๋กœ๊ทธ๋ฅผ ์ถœ๋ ฅํ•œ ํ›„ analytics.identify()๋ฅผ ํ˜ธ์ถœํ•ฉ๋‹ˆ๋‹ค.
์•ฑ ๋ฒ„์ „ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์—…๋ฐ์ดํŠธ
app/build.gradle.kts
versionCode๋ฅผ 7์—์„œ 8๋กœ, versionName์„ "0.3.1"์—์„œ "0.3.2"๋กœ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์ƒ ๊ฒ€ํ†  ๋‚œ์ด๋„

๐ŸŽฏ 2 (๋‹จ์ˆœ) | โฑ๏ธ ~12๋ถ„

๊ด€๋ จ๋œ ๊ฐ€๋Šฅ์„ฑ ์žˆ๋Š” PR

  • Nexters/BuyOrNot-Android#112: AnalyticsModule๊ณผ DebugAnalytics๋ฅผ ์ˆ˜์ •ํ•˜์—ฌ appVersion์„ ์ฒ˜๋ฆฌํ•˜๊ณ , BuyOrNotViewModel์˜ ๋ถ„์„ identify ํ๋ฆ„์— ์˜ํ–ฅ์„ ๋ฏธ์น˜๋Š” ๋ณ€๊ฒฝ์‚ฌํ•ญ์œผ๋กœ, ๋™์ผ ์ปดํฌ๋„ŒํŠธ์— ๋Œ€ํ•œ ๊ฒน์น˜๋Š” ์ˆ˜์ •์ž…๋‹ˆ๋‹ค.
  • Nexters/BuyOrNot-Android#109: app/build.gradle.kts์˜ versionCode์™€ versionName์„ ์ˆœ์ฐจ์ ์œผ๋กœ ์—…๋ฐ์ดํŠธํ•˜๋Š” ๋ฆด๋ฆฌ์Šค ๋ฒ„์ „ ๋ฒ”ํ”„ ์ž‘์—…์ž…๋‹ˆ๋‹ค(PR #109: 6โ†’7, ํ˜„์žฌ PR: 7โ†’8).
  • Nexters/BuyOrNot-Android#106: ๋ถ„์„ ๊ตฌํ˜„๊ณผ DI๋ฅผ ์—…๋ฐ์ดํŠธํ•˜์—ฌ appVersion/userId๋ฅผ ์ „๋‹ฌํ•˜๊ณ  ๋กœ๊น…ํ•˜๋Š” ๋™์ผํ•œ ๋ถ„์„ ํด๋ž˜์Šค๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

์ œ์•ˆ๋œ ๋ ˆ์ด๋ธ”

โœจ FEAT

์ œ์•ˆ๋œ ๊ฒ€ํ† ์ž

  • Imagine-Choi
๐Ÿšฅ Pre-merge checks | โœ… 5
โœ… Passed checks (5 passed)
Check name Status Explanation
Description Check โœ… Passed Check skipped - CodeRabbitโ€™s high-level summary is enabled.
Title check โœ… Passed PR ์ œ๋ชฉ์€ ๋ฒ„์ „ ๋ฒˆํ”„ ๋ฐ ๋ถ„์„ ๊ธฐ๋Šฅ ๊ฐœ์„ ์ด๋ผ๋Š” ์ฃผ์š” ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ์ •ํ™•ํ•˜๊ฒŒ ์š”์•ฝํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
Docstring Coverage โœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check โœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check โœ… Passed Check skipped because no linked issues were found for this pull request.

โœ๏ธ Tip: You can configure your own custom pre-merge checks in the settings.

โœจ Finishing Touches
๐Ÿ“ Generate docstrings
  • Create stacked PR
  • Commit on current branch
๐Ÿงช Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.3.2

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.

@DongChyeon DongChyeon changed the title Release/0.3.2 to develop Release 0.3.2 to develop May 11, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

๐Ÿงน Nitpick comments (1)
core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/di/AnalyticsModule.kt (1)

24-28: โšก Quick win

appVersion ์ค‘๋ณต ์กฐํšŒ์™€ ๋ณ€์ˆ˜ ์„€๋„์ž‰์„ ์ •๋ฆฌํ•˜๋ฉด ์œ ์ง€๋ณด์ˆ˜๊ฐ€ ์ข‹์•„์ง‘๋‹ˆ๋‹ค.

Line 24-28์—์„œ ์ด๋ฏธ ๊ณ„์‚ฐํ•œ ๊ฐ’์„ Line 38-42์—์„œ ๋‹ค์‹œ ๊ณ„์‚ฐํ•˜๊ณ  ์žˆ์–ด ์ค‘๋ณต์ž…๋‹ˆ๋‹ค. ์™ธ๋ถ€ appVersion์„ ์žฌ์‚ฌ์šฉํ•ด ๋‹จ์ผ ์†Œ์Šค๋กœ ์œ ์ง€ํ•˜๋Š” ํŽธ์ด ์•ˆ์ „ํ•ฉ๋‹ˆ๋‹ค.

โ™ป๏ธ ์ œ์•ˆ ์ˆ˜์ •์•ˆ
         return if (BuildConfig.DEBUG) {
             DebugAnalytics(appVersion)
         } else {
             val mixpanel =
                 MixpanelAPI.getInstance(
                     context,
                     BuildConfig.MIXPANEL_TOKEN,
                     true,
                 )
-            val appVersion =
-                context.packageManager
-                    .getPackageInfo(context.packageName, 0)
-                    .versionName
-                    ?: "unknown"
             MixpanelAnalytics(mixpanel, appVersion)
         }

Also applies to: 38-43

๐Ÿค– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/di/AnalyticsModule.kt`
around lines 24 - 28, The appVersion is being computed twice (once in the
top-level val appVersion using
context.packageManager.getPackageInfo(...).versionName and again later); remove
the duplicate retrieval and reuse the already-computed appVersion variable
wherever the second computation occurs (replace the repeated
context.packageManager.getPackageInfo(...) call with the existing appVersion
variable) so there is a single source of truth and no variable shadowing in
AnalyticsModule.kt.
๐Ÿค– Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@app/src/main/java/com/sseotdabwa/buyornot/ui/BuyOrNotViewModel.kt`:
- Line 3: Remove the direct logging of the user's identifier: delete the Log
usage that prints userId (and remove the android.util.Log import) in
BuyOrNotViewModel.kt, and rely solely on the existing analytics.identify(...)
call to record identity; locate calls referencing userId and the Log class in
the ViewModel (the logger line around the analytics.identify(...) invocation)
and remove that log statement so PII is not written to logs.

In
`@core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/DebugAnalytics.kt`:
- Around line 11-12: ํ˜„์žฌ DebugAnalytics.kt์—์„œ superProps์— userId๋ฅผ ํ‰๋ฌธ์œผ๋กœ ํฌํ•จํ•ด
Log.d("Analytics", ...)์— ์ถœ๋ ฅํ•˜๊ณ  ์žˆ์–ด ๊ฐœ์ธ์ •๋ณด ์œ ์ถœ ์œ„ํ—˜์ด ์žˆ์Šต๋‹ˆ๋‹ค; ์ˆ˜์ • ๋ฐฉ๋ฒ•์€ Log ํ˜ธ์ถœ์—์„œ userId๋ฅผ ์ œ๊ฑฐํ•˜๊ฑฐ๋‚˜
์ตœ์†Œํ•œ ๋งˆ์Šคํ‚น ์ฒ˜๋ฆฌํ•˜์—ฌ ๋…ธ์ถœ์„ ์ฐจ๋‹จํ•˜๋Š” ๊ฒƒ์ด๋ฉฐ(์˜ˆ: ๊ตฌํ˜„๋œ maskUserId(userId: String): String ์‚ฌ์šฉ ๋˜๋Š” ์ƒˆ๋กœ
์ถ”๊ฐ€), superProps ์กฐ๋ฆฝ๋ถ€(๋ณ€์ˆ˜ superProps)์™€ ๋กœ๊ทธ ํ˜ธ์ถœ(Log.d)์—์„œ plain userId ๋Œ€์‹ 
maskUserId(userId) ๋˜๋Š” ์™„์ „ ์ œ๊ฑฐ๋œ ๊ฐ’์œผ๋กœ ๋Œ€์ฒดํ•˜๊ณ  ํ…Œ์ŠคํŠธ ๋กœ๊ทธ(๋˜๋Š” debug-only ๋นŒ๋“œ)์—์„œ๋„ ๋™์ผ ์ฒ˜๋ฆฌ๊ฐ€ ์ ์šฉ๋˜๋„๋ก
์ˆ˜์ •ํ•˜์„ธ์š”.

---

Nitpick comments:
In
`@core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/di/AnalyticsModule.kt`:
- Around line 24-28: The appVersion is being computed twice (once in the
top-level val appVersion using
context.packageManager.getPackageInfo(...).versionName and again later); remove
the duplicate retrieval and reuse the already-computed appVersion variable
wherever the second computation occurs (replace the repeated
context.packageManager.getPackageInfo(...) call with the existing appVersion
variable) so there is a single source of truth and no variable shadowing in
AnalyticsModule.kt.
๐Ÿช„ Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

โ„น๏ธ Review info
โš™๏ธ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 9a65c99c-cee0-4691-bafe-94e7a2ed5794

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between dd80ed5 and ecce959.

๐Ÿ“’ Files selected for processing (4)
  • app/build.gradle.kts
  • app/src/main/java/com/sseotdabwa/buyornot/ui/BuyOrNotViewModel.kt
  • core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/DebugAnalytics.kt
  • core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/di/AnalyticsModule.kt

@@ -1,5 +1,6 @@
package com.sseotdabwa.buyornot.ui

import android.util.Log
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

โš ๏ธ Potential issue | ๐ŸŸ  Major | โšก Quick win

ViewModel์—์„œ userId ์ง์ ‘ ๋กœ๊น…์€ ์ œ๊ฑฐํ•˜๋Š” ๊ฒƒ์ด ์•ˆ์ „ํ•ฉ๋‹ˆ๋‹ค.

Line 36์˜ ๋กœ๊ทธ๋Š” ๊ฐœ์ธ ์‹๋ณ„์ž๋ฅผ ํ‰๋ฌธ์œผ๋กœ ๋‚จ๊น๋‹ˆ๋‹ค. analytics.identify(...) ํ˜ธ์ถœ๋งŒ์œผ๋กœ ๋ชฉ์ ์ด ๋‹ฌ์„ฑ๋˜๋ฏ€๋กœ ์ง์ ‘ ๋กœ๊ทธ๋Š” ๋นผ๋Š” ํŽธ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

๐Ÿ”ง ์ œ์•ˆ ์ˆ˜์ •์•ˆ
-import android.util.Log
@@
             .distinctUntilChanged()
             .onEach { userId ->
-                Log.d("BuyOrNotViewModel", "userId: $userId")
                 analytics.identify(if (userId != 0L) userId.toString() else null)
             }.launchIn(viewModelScope)

Also applies to: 36-36

๐Ÿค– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/src/main/java/com/sseotdabwa/buyornot/ui/BuyOrNotViewModel.kt` at line 3,
Remove the direct logging of the user's identifier: delete the Log usage that
prints userId (and remove the android.util.Log import) in BuyOrNotViewModel.kt,
and rely solely on the existing analytics.identify(...) call to record identity;
locate calls referencing userId and the Log class in the ViewModel (the logger
line around the analytics.identify(...) invocation) and remove that log
statement so PII is not written to logs.

Comment on lines +11 to +12
val superProps = "platform=android, app_version=$appVersion, user_id=$userId"
Log.d("Analytics", "$event [$superProps]")
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

โš ๏ธ Potential issue | ๐ŸŸ  Major | โšก Quick win

userId ํ‰๋ฌธ ๋กœ๊ทธ๋Š” ๊ฐœ์ธ์ •๋ณด ๋…ธ์ถœ ์œ„ํ—˜์ด ์žˆ์Šต๋‹ˆ๋‹ค.

Line 11-12, Line 17์—์„œ ์‚ฌ์šฉ์ž ์‹๋ณ„์ž๊ฐ€ ๊ทธ๋Œ€๋กœ Logcat์— ๋‚จ์Šต๋‹ˆ๋‹ค. ๋””๋ฒ„๊ทธ ํ™˜๊ฒฝ์ด๋ผ๋„ ์™ธ๋ถ€ ๋ฐฐํฌ/๋กœ๊ทธ ์ˆ˜์ง‘ ์‹œ ์œ ์ถœ ๊ฒฝ๋กœ๊ฐ€ ๋ฉ๋‹ˆ๋‹ค. ์ตœ์†Œ ๋งˆ์Šคํ‚น ๋˜๋Š” ๋กœ๊ทธ ์ œ์™ธ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ”ง ์ œ์•ˆ ์ˆ˜์ •์•ˆ
 class DebugAnalytics(
     private val appVersion: String,
 ) : Analytics {
     private var userId: String? = null

     override fun track(event: AnalyticsEvent) {
-        val superProps = "platform=android, app_version=$appVersion, user_id=$userId"
+        val maskedUserId = userId?.let { "***${it.takeLast(2)}" }
+        val superProps = "platform=android, app_version=$appVersion, user_id=$maskedUserId"
         Log.d("Analytics", "$event [$superProps]")
     }

     override fun identify(userId: String?) {
         this.userId = userId
-        Log.d("Analytics", "identify: userId=$userId")
+        Log.d("Analytics", "identify called")
     }
 }

Also applies to: 16-17

๐Ÿค– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@core/analytics/src/main/java/com/sseotdabwa/buyornot/core/analytics/DebugAnalytics.kt`
around lines 11 - 12, ํ˜„์žฌ DebugAnalytics.kt์—์„œ superProps์— userId๋ฅผ ํ‰๋ฌธ์œผ๋กœ ํฌํ•จํ•ด
Log.d("Analytics", ...)์— ์ถœ๋ ฅํ•˜๊ณ  ์žˆ์–ด ๊ฐœ์ธ์ •๋ณด ์œ ์ถœ ์œ„ํ—˜์ด ์žˆ์Šต๋‹ˆ๋‹ค; ์ˆ˜์ • ๋ฐฉ๋ฒ•์€ Log ํ˜ธ์ถœ์—์„œ userId๋ฅผ ์ œ๊ฑฐํ•˜๊ฑฐ๋‚˜
์ตœ์†Œํ•œ ๋งˆ์Šคํ‚น ์ฒ˜๋ฆฌํ•˜์—ฌ ๋…ธ์ถœ์„ ์ฐจ๋‹จํ•˜๋Š” ๊ฒƒ์ด๋ฉฐ(์˜ˆ: ๊ตฌํ˜„๋œ maskUserId(userId: String): String ์‚ฌ์šฉ ๋˜๋Š” ์ƒˆ๋กœ
์ถ”๊ฐ€), superProps ์กฐ๋ฆฝ๋ถ€(๋ณ€์ˆ˜ superProps)์™€ ๋กœ๊ทธ ํ˜ธ์ถœ(Log.d)์—์„œ plain userId ๋Œ€์‹ 
maskUserId(userId) ๋˜๋Š” ์™„์ „ ์ œ๊ฑฐ๋œ ๊ฐ’์œผ๋กœ ๋Œ€์ฒดํ•˜๊ณ  ํ…Œ์ŠคํŠธ ๋กœ๊ทธ(๋˜๋Š” debug-only ๋นŒ๋“œ)์—์„œ๋„ ๋™์ผ ์ฒ˜๋ฆฌ๊ฐ€ ์ ์šฉ๋˜๋„๋ก
์ˆ˜์ •ํ•˜์„ธ์š”.

@DongChyeon DongChyeon merged commit 3690f52 into develop May 11, 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