diff --git a/ios/wrappers/CioRctWrapper.mm b/ios/wrappers/CioRctWrapper.mm index 81a6c67e..1aff23b4 100644 --- a/ios/wrappers/CioRctWrapper.mm +++ b/ios/wrappers/CioRctWrapper.mm @@ -7,7 +7,7 @@ @interface RCT_EXTERN_REMAP_MODULE(NativeCustomerIO, CioRctWrapper, NSObject) RCT_EXTERN_METHOD(identify:(NSString *)identify traits:(NSDictionary *)traits) RCT_EXTERN_METHOD(clearIdentify) RCT_EXTERN_METHOD(track:(NSString *)name properties:(NSDictionary *)properties) -RCT_EXTERN_METHOD(screen:(NSString *)title category: (NSString *)category properties:(NSDictionary *)) +RCT_EXTERN_METHOD(screen:(NSString *)title properties:(NSDictionary *)) RCT_EXTERN_METHOD(setProfileAttributes: (NSDictionary *)attributes) RCT_EXTERN_METHOD(setDeviceAttributes: (NSDictionary *)attributes) diff --git a/ios/wrappers/CioRctWrapper.swift b/ios/wrappers/CioRctWrapper.swift index 00cdd51a..e3e9c949 100644 --- a/ios/wrappers/CioRctWrapper.swift +++ b/ios/wrappers/CioRctWrapper.swift @@ -51,8 +51,8 @@ class CioRctWrapper: NSObject { } @objc - func screen(_ title: String, category: String?, properties: [String: Any]?) { - CustomerIO.shared.screen(title: title, category: category, properties: properties) + func screen(_ title: String, properties: [String: Any]?) { + CustomerIO.shared.screen(title: title, properties: properties) } @objc