File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,19 @@ -(Mixpanel*) getInstance: (NSString *)name {
4646 }
4747}
4848
49+ // setAppSessionProperties iOS
4950// setAppSessionProperties iOS
5051RCT_EXPORT_METHOD (setAppSessionPropertiesIOS:(NSDictionary *)properties) {
5152 if ([properties objectForKey: @" minimumSessionDuration" ]) {
5253 NSNumber *minimumSessionDuration = properties[@" minimumSessionDuration" ];
5354 long long int intValue = [minimumSessionDuration longLongValue ];
54- mixpanel .minimumSessionDuration = intValue;
55+ [Mixpanel sharedInstance ] .minimumSessionDuration = intValue;
5556 }
5657
5758 if ([properties objectForKey: @" maximumSessionDuration" ]) {
5859 NSNumber *maximumSessionDuration = properties[@" maximumSessionDuration" ];
5960 long long int intValue = [maximumSessionDuration longLongValue ];
60- mixpanel .maximumSessionDuration = intValue;
61+ [Mixpanel sharedInstance ] .maximumSessionDuration = intValue;
6162 }
6263}
6364
You can’t perform that action at this time.
0 commit comments