Skip to content

Commit

Permalink
Update EventsManager.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviuvsp committed Jan 15, 2024
1 parent 89bb5ae commit f27d6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/permanent/permanent/EventsManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import com.mixpanel.android.mpmetrics.MixpanelAPI
import org.json.JSONObject

class EventsManager(context: Context) {
private val mp: MixpanelAPI = MixpanelAPI.getInstance(context, BuildConfig.MIXPANEL_KEY, true)
private val mp: MixpanelAPI = MixpanelAPI.getInstance(context, BuildConfig.MIXPANEL_TOKEN, true)

fun sendToMixpanel(event: EventType, properties: JSONObject? = null) {
mp.track(event.value, properties)
Expand Down

0 comments on commit f27d6e6

Please sign in to comment.