Skip to content

Commit

Permalink
add isNativeApp user property
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed Oct 15, 2024
1 parent dd12f90 commit 42d89d2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ class StatsigInitWorker @Inject constructor(
if (isStarted) return

isStarted = true
val user = StatsigUser()
user.customIDs = mapOf("isNativeApp" to "true")
Statsig.initializeAsync(
application = application,
sdkKey = application.getString(R.string.statsig_api_key),
user = StatsigUser(),
user = user,
)
}

Expand Down

0 comments on commit 42d89d2

Please sign in to comment.