diff --git a/android/build.gradle b/android/build.gradle index 25d1950..430f932 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -56,8 +56,8 @@ repositories { dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules - implementation 'com.yandex.android:mobmetricalib:4.2.0' - implementation "com.yandex.android:mobmetricapushlib:2.1.1" + implementation 'com.yandex.android:mobmetricalib:5.0.0' + implementation "com.yandex.android:mobmetricapushlib:2.2.0" implementation "com.android.support:support-compat:28.0.0" implementation 'com.android.installreferrer:installreferrer:1.1.2' implementation "com.google.firebase:firebase-messaging:22.0.0" diff --git a/package.json b/package.json index f5ac111..a235fba 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-appmetrica-next", "title": "Yandex AppMetrica React Native Plugin && AppMetricaPushSDK (fireBase CloudMessage)", - "version": "2.0.1", + "version": "2.1.0", "description": "React Native plugin for AppMetrica analytics tool", "main": "index.js", "scripts": { diff --git a/react-native-appmetrica-next.podspec b/react-native-appmetrica-next.podspec index b032895..9f4d289 100644 --- a/react-native-appmetrica-next.podspec +++ b/react-native-appmetrica-next.podspec @@ -16,6 +16,6 @@ Pod::Spec.new do |s| s.requires_arc = true s.dependency "React" - s.dependency 'YandexMobileMetrica', '4.2.0' - s.dependency 'YandexMobileMetricaPush', '1.1.1' + s.dependency 'YandexMobileMetrica', '5.0.0' + s.dependency 'YandexMobileMetricaPush', '2.2.0' end