Migrating to version 3.0.0
AppMetrica SDK and AppMetrica Push SDK compatibility
We recommend using AppMetrica SDK version 3.0.0 and higher with AppMetrica Push SDK version 2.0.0.
Migration guide
Some of the classes were renamed to avoid a name conflict when updating native dependencies.
Renamings
- Renamed the
ReporterConfig
class asAppMetricaReporterConfig
. - Renamed the
Gender
class asAppMetricaNameAttribute
. - Renamed the
UserProfile
class asAppMetricaUserProfile
. - Renamed the
Reporter
class asAppMetricaReporter
. - Renamed the
ActivationConfigHolder
class asAppMetricaActivationConfigHolder
. This is an internal API class and we discourage its use. - Renamed the
AdType
class asAppMetricaAdType
. - Renamed the
setUpErrorHandling
class assetUpErrorHandlingWithAppMetrica
. This is an internal API class and we discourage its use. - Renamed the
setUpLogger
class assetUpAppMetricaLogger
. This is an internal API class and we discourage its use. - Renamed the
DeferredDeeplinkRequestException
class asAppMetricaDeferredDeeplinkRequestException
. - Renamed the
DeferredDeeplinkErrorReason
class asAppMetricaDeferredDeeplinkErrorReason
. - Renamed the
DeviceIdRequestException
class asAppMetricaDeviceIdRequestException
. - Renamed the
DeviceIdErrorReason
class asAppMetricaDeviceIdErrorReason
. - Renamed the
ECommerceAmount
class asAppMetricaECommerceAmount
. - Renamed the
ECommerceProduct
class asAppMetricaECommerceProduct
. - Renamed the
ECommercePrice
class asAppMetricaECommercePrice
. - Renamed the
ECommerceReferrer
class asAppMetricaECommerceReferrer
. - Renamed the
ECommerceScreen
class asAppMetricaECommerceScreen
. - Renamed the
ECommerceCartItem
class asAppMetricaECommerceCartItem
. - Renamed the
ECommerceOrder
class asAppMetricaECommerceOrder
. - Renamed the
ECommerce
class asAppMetricaECommerce
. - Renamed the
ECommerceEvent
class asAppMetricaECommerceEvent
. - Renamed the
Location
class asAppMetricaLocation
. - Renamed the
PreloadInfo
class asAppMetricaPreloadInfo
. - Renamed the
Receipt
class asAppMetricaReceipt
. - Renamed the
StartupParamsItemStatus
class asAppMetricaStartupParamsItemStatus
. - Renamed the
StartupParamsItem
class asAppMetricaStartupParamsItem
. - Renamed the
StartupParamsResult
class asAppMetricaStartupParamsResult
. - Renamed the
StartupParamsReason
class asAppMetricaStartupParamsReason
. - Renamed the
StartupParams
class asAppMetricaStartupParams
.
AdRevenue
- Renamed the
AdRevenue
class asAppMetricaAdRevenue
.
Revenue
- Renamed the
Revenue
class asAppMetricaRevenue
.
User attributes
- Renamed the
BirthDateAttribute
class asAppMetricaBooleanAttribute
. - Renamed the
BooleanAttribute
class asAppMetricaReporterConfig
. - Renamed the
CounterAttribute
class asAppMetricaCounterAttribute
. - Renamed the
GenderAttribute
class asAppMetricaGenderAttribute
. - Renamed the
NotificationEnabledAttribute
class asAppMetricaNotificationEnabledAttribute
. - Renamed the
StringAttribute
class asAppMetricaStringAttribute
.
Was the article helpful?
Previous