change version & change .h .m for iOS

This commit is contained in:
Andrey Bondarenko
2021-01-21 20:56:30 +10:00
parent 80030ec056
commit c50be6bb75
3 changed files with 2 additions and 2 deletions

View File

@@ -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);
}];

View File

@@ -13,6 +13,7 @@
@interface AppMetricaUtils : NSObject
+ (YMMYandexMetricaConfiguration *)configurationForDictionary:(NSDictionary *)configDict;
+ (YMMYandexMetricaConfiguration *)configurationForUserProfile:(NSDictionary *)configDict;
+ (CLLocation *)locationForDictionary:(NSDictionary *)locationDict;
+ (NSString *)stringFromRequestDeviceIDError:(NSError *)error;