We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18b3fe9 commit b75b4e9Copy full SHA for b75b4e9
ios/SiftReactNative.m
@@ -36,4 +36,9 @@ - (dispatch_queue_t)methodQueue
36
[[Sift sharedInstance] upload];
37
}
38
39
+RCT_EXPORT_METHOD(setPageName:(NSString *)pageName) {
40
+ //TODO: add valid method from SDK [Sift open:pageName];
41
+ NSLog(@"Setting page name: %@", pageName);
42
+}
43
+
44
@end
src/index.tsx
@@ -8,6 +8,7 @@ type SiftReactNativeType = {
8
serverUrlFormat: string
9
): void;
10
setUserId(userId: string): void;
11
+ setPageName(pageName: string): void;
12
unsetUserId(): void;
13
upload(): void;
14
};
0 commit comments