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
ReporterConfigclass asAppMetricaReporterConfig. - Renamed the
Genderclass asAppMetricaNameAttribute. - Renamed the
UserProfileclass asAppMetricaUserProfile. - Renamed the
Reporterclass asAppMetricaReporter. - Renamed the
ActivationConfigHolderclass asAppMetricaActivationConfigHolder. This is an internal API class and we discourage its use. - Renamed the
AdTypeclass asAppMetricaAdType. - Renamed the
setUpErrorHandlingclass assetUpErrorHandlingWithAppmetrica. This is an internal API class and we discourage its use. - Renamed the
setUpLoggerclass assetUpAppmetricaLogger. This is an internal API class and we discourage its use. - Renamed the
DeferredDeeplinkRequestExceptionclass asAppMetricaDeferredDeeplinkRequestException. - Renamed the
DeferredDeeplinkErrorReasonclass asAppMetricaDeferredDeeplinkErrorReason. - Renamed the
DeviceIdRequestExceptionclass asAppMetricaDeviceIdRequestException. - Renamed the
DeviceIdErrorReasonclass asAppMetricaDeviceIdErrorReason. - Renamed the
ECommerceAmountclass asAppMetricaECommerceAmount. - Renamed the
ECommerceProductclass asAppMetricaECommerceProduct. - Renamed the
ECommercePriceclass asAppMetricaECommercePrice. - Renamed the
ECommerceReferrerclass asAppMetricaECommerceReferrer. - Renamed the
ECommerceScreenclass asAppMetricaECommerceScreen. - Renamed the
ECommerceCartItemclass asAppMetricaECommerceCartItem. - Renamed the
ECommerceOrderclass asAppMetricaECommerceOrder. - Renamed the
ECommerceclass asAppMetricaECommerce. - Renamed the
ECommerceEventclass asAppMetricaECommerceEvent. - Renamed the
Locationclass asAppMetricaLocation. - Renamed the
PreloadInfoclass asAppMetricaPreloadInfo. - Renamed the
Receiptclass asAppMetricaReceipt. - Renamed the
StartupParamsItemStatusclass asAppMetricaStartupParamsItemStatus. - Renamed the
StartupParamsItemclass asAppMetricaStartupParamsItem. - Renamed the
StartupParamsResultclass asAppMetricaStartupParamsResult. - Renamed the
StartupParamsReasonclass asAppMetricaStartupParamsReason. - Renamed the
StartupParamsclass asAppMetricaStartupParams.
AdRevenue
- Renamed the
AdRevenueclass asAppMetricaAdRevenue.
Revenue
- Renamed the
Revenueclass asAppMetricaRevenue.
User attributes
- Renamed the
BirthDateAttributeclass asAppMetricaBooleanAttribute. - Renamed the
BooleanAttributeclass asAppMetricaReporterConfig. - Renamed the
CounterAttributeclass asAppMetricaCounterAttribute. - Renamed the
GenderAttributeclass asAppMetricaGenderAttribute. - Renamed the
NotificationEnabledAttributeclass asAppMetricaNotificationEnabledAttribute. - Renamed the
StringAttributeclass asAppMetricaStringAttribute.
Was the article helpful?
Previous