Skip to content

Commit

Permalink
#83 [FIX] : api fix key load
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyun127 committed Sep 26, 2024
1 parent 439f67b commit 142e270
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ object AmplitudeUtil {
private lateinit var amplitude: Amplitude

fun initAmplitude(applicationContext: Context) {
val key = AMPLITUDE_API_KEY
amplitude = Amplitude(
Configuration(
apiKey = AMPLITUDE_API_KEY,
apiKey = key,
context = applicationContext,
),
)
Expand Down

0 comments on commit 142e270

Please sign in to comment.