change version & change .h .m for iOS
This commit is contained in:
parent
80030ec056
commit
c50be6bb75
@ -25,7 +25,6 @@ RCT_EXPORT_METHOD(activate:(NSDictionary *)configDict)
|
|||||||
|
|
||||||
RCT_EXPORT_METHOD(reportUserProfile:(NSDictionary *)configDict)
|
RCT_EXPORT_METHOD(reportUserProfile:(NSDictionary *)configDict)
|
||||||
{
|
{
|
||||||
// [YMPYandexMetrica reportUserProfile:[AppMetricaUtils configurationForUserProfile:configDict]];
|
|
||||||
[YMMYandexMetrica reportUserProfile:[AppMetricaUtils configurationForUserProfile:configDict] onFailure:^(NSError *error) {
|
[YMMYandexMetrica reportUserProfile:[AppMetricaUtils configurationForUserProfile:configDict] onFailure:^(NSError *error) {
|
||||||
NSLog(@"Error: %@", error);
|
NSLog(@"Error: %@", error);
|
||||||
}];
|
}];
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
@interface AppMetricaUtils : NSObject
|
@interface AppMetricaUtils : NSObject
|
||||||
|
|
||||||
+ (YMMYandexMetricaConfiguration *)configurationForDictionary:(NSDictionary *)configDict;
|
+ (YMMYandexMetricaConfiguration *)configurationForDictionary:(NSDictionary *)configDict;
|
||||||
|
+ (YMMYandexMetricaConfiguration *)configurationForUserProfile:(NSDictionary *)configDict;
|
||||||
+ (CLLocation *)locationForDictionary:(NSDictionary *)locationDict;
|
+ (CLLocation *)locationForDictionary:(NSDictionary *)locationDict;
|
||||||
+ (NSString *)stringFromRequestDeviceIDError:(NSError *)error;
|
+ (NSString *)stringFromRequestDeviceIDError:(NSError *)error;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-appmetrica-next",
|
"name": "react-native-appmetrica-next",
|
||||||
"title": "Yandex AppMetrica React Native Plugin && AppMetricaPushSDK (fireBase CloudMessage)",
|
"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",
|
"description": "React Native plugin for AppMetrica analytics tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user