fix bugs
This commit is contained in:
parent
cfd4dd9109
commit
4eb88f3e20
@ -73,8 +73,9 @@
|
||||
[profile apply:[genderAttribute withValue:YMMGenderTypeFemale]];
|
||||
}
|
||||
if (configDict[@"age"] != nil) {
|
||||
NSNumber *age = configDict[@"age"];
|
||||
id<YMMBirthDateAttribute> birthDateAttribute = [YMMProfileAttribute birthDate];
|
||||
[profile apply:[birthDateAttribute withAge:[configDict[@"age"] unsignedIntegerValue]]];
|
||||
[profile apply:[birthDateAttribute withAge:[age unsignedIntegerValue]]];
|
||||
}
|
||||
if (configDict[@"isNotification"] != nil) {
|
||||
id<YMMNotificationsEnabledAttribute> isNotificationAttribute = [YMMProfileAttribute notificationsEnabled];
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "react-native-appmetrica-next",
|
||||
"title": "Yandex AppMetrica React Native Plugin && AppMetricaPushSDK (fireBase CloudMessage)",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.8",
|
||||
"description": "React Native plugin for AppMetrica analytics tool",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user