diff --git a/metamask-android-sdk/src/main/java/io/metamask/androidsdk/Analytics.kt b/metamask-android-sdk/src/main/java/io/metamask/androidsdk/Analytics.kt index bb6fd29b..99a56fe3 100644 --- a/metamask-android-sdk/src/main/java/io/metamask/androidsdk/Analytics.kt +++ b/metamask-android-sdk/src/main/java/io/metamask/androidsdk/Analytics.kt @@ -7,7 +7,7 @@ package io.metamask.androidsdk enum class Event(val value: String) { SDK_CONNECTION_REQUEST_STARTED("sdk_connect_request_started"), SDK_CONNECTION_ESTABLISHED("sdk_connection_established"), - SDK_CONNECTION_ACCEPTED("sdk_connection_accepted"), + SDK_CONNECTION_AUTHORIZED("sdk_connection_authorized"), SDK_CONNECTION_REJECTED("sdk_connection_rejected"), SDK_CONNECTION_FAILED("sdk_connection_failed"), SDK_DISCONNECTED("sdk_disconnected") diff --git a/metamask-android-sdk/src/main/java/io/metamask/androidsdk/EthereumViewModel.kt b/metamask-android-sdk/src/main/java/io/metamask/androidsdk/EthereumViewModel.kt index dfbdd301..b311b155 100644 --- a/metamask-android-sdk/src/main/java/io/metamask/androidsdk/EthereumViewModel.kt +++ b/metamask-android-sdk/src/main/java/io/metamask/androidsdk/EthereumViewModel.kt @@ -132,7 +132,7 @@ class EthereumViewModel @Inject constructor ( communicationClient.trackEvent(Event.SDK_CONNECTION_REJECTED, null) } } else { - communicationClient.trackEvent(Event.SDK_CONNECTION_ACCEPTED, null) + communicationClient.trackEvent(Event.SDK_CONNECTION_AUTHORIZED, null) } } @@ -152,7 +152,7 @@ class EthereumViewModel @Inject constructor ( communicationClient.trackEvent(Event.SDK_CONNECTION_REJECTED, null) } } else { - communicationClient.trackEvent(Event.SDK_CONNECTION_ACCEPTED, null) + communicationClient.trackEvent(Event.SDK_CONNECTION_AUTHORIZED, null) } callback?.invoke(result) }