File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,16 @@ - (NSDictionary*)deviceProperties
98
98
{
99
99
UIDevice* device = [UIDevice currentDevice ];
100
100
101
+ NSString * modelVersion = [device modelVersion ];
102
+ NSString * systemVersion = [device systemVersion ];
103
+ NSString * uniqueId = [self uniqueAppInstanceIdentifier: device];
104
+
101
105
return @{
102
106
@" manufacturer" : @" Apple" ,
103
- @" model" : [device modelVersion ] ,
107
+ @" model" : modelVersion ? modelVersion : @" " ,
104
108
@" platform" : @" iOS" ,
105
- @" version" : [device systemVersion ] ,
106
- @" uuid" : [ self uniqueAppInstanceIdentifier: device] ,
109
+ @" version" : systemVersion ? systemVersion : @" " ,
110
+ @" uuid" : uniqueId ? uniqueId : @" " ,
107
111
@" cordova" : [[self class ] cordovaVersion ],
108
112
@" isVirtual" : @([self isVirtual ]),
109
113
@" isiOSAppOnMac" : @([self isiOSAppOnMac ])
You can’t perform that action at this time.
0 commit comments