From c50be6bb757c5976a6e1a71ff12b342bb0d243dd Mon Sep 17 00:00:00 2001 From: Andrey Bondarenko Date: Thu, 21 Jan 2021 20:56:30 +1000 Subject: [PATCH] change version & change .h .m for iOS --- ios/AppMetrica.m | 1 - ios/AppMetricaUtils.h | 1 + package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/AppMetrica.m b/ios/AppMetrica.m index d902c3b..fbd774a 100644 --- a/ios/AppMetrica.m +++ b/ios/AppMetrica.m @@ -25,7 +25,6 @@ RCT_EXPORT_METHOD(activate:(NSDictionary *)configDict) RCT_EXPORT_METHOD(reportUserProfile:(NSDictionary *)configDict) { -// [YMPYandexMetrica reportUserProfile:[AppMetricaUtils configurationForUserProfile:configDict]]; [YMMYandexMetrica reportUserProfile:[AppMetricaUtils configurationForUserProfile:configDict] onFailure:^(NSError *error) { NSLog(@"Error: %@", error); }]; diff --git a/ios/AppMetricaUtils.h b/ios/AppMetricaUtils.h index 42c0b01..dea2c38 100644 --- a/ios/AppMetricaUtils.h +++ b/ios/AppMetricaUtils.h @@ -13,6 +13,7 @@ @interface AppMetricaUtils : NSObject + (YMMYandexMetricaConfiguration *)configurationForDictionary:(NSDictionary *)configDict; ++ (YMMYandexMetricaConfiguration *)configurationForUserProfile:(NSDictionary *)configDict; + (CLLocation *)locationForDictionary:(NSDictionary *)locationDict; + (NSString *)stringFromRequestDeviceIDError:(NSError *)error; diff --git a/package.json b/package.json index f9e2928..2f8db4d 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": "1.0.5", + "version": "1.0.6", "description": "React Native plugin for AppMetrica analytics tool", "main": "index.js", "scripts": {