File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
235
235
[self activate: call withResult: result];
236
236
else if ([@" fetchAndActivate" isEqualToString: call.method])
237
237
[self fetchAndActivate: call withResult: result];
238
+ else if ([@" setDefaultsMap" isEqualToString: call.method])
239
+ [self setDefaultsMap: call withResult: result];
238
240
else if ([@" createNotification" isEqualToString: call.method])
239
241
result (nil );
240
242
else if ([@" createNotificationChannel" isEqualToString: call.method])
@@ -883,6 +885,11 @@ - (void)fetchAndActivate:(FlutterMethodCall *)call withResult:(FlutterResult)res
883
885
result (nil );
884
886
}
885
887
888
+ - (void )setDefaultsMap : (FlutterMethodCall *)call withResult : (FlutterResult)result {
889
+ [[[CleverTap sharedInstance ] productConfig ] setDefaults: call.arguments[@" defaults" ]];
890
+ result (nil );
891
+ }
892
+
886
893
887
894
888
895
#pragma mark - Helpers
You can’t perform that action at this time.
0 commit comments