Skip to content

Commit 26fa44b

Browse files
committed
fix: update clickedUrl parameter type to allow null values in trackInAppClose method per PR comment
1 parent 18bd0af commit 26fa44b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ios/RNIterableAPI/RNIterableAPI.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ - (void)trackInAppClick:(NSString *)messageId
179179
- (void)trackInAppClose:(NSString *)messageId
180180
location:(double)location
181181
source:(double)source
182-
clickedUrl:(NSString *)clickedUrl {
182+
clickedUrl:(NSString *_Nullable)clickedUrl {
183183
[_swiftAPI trackInAppClose:messageId
184184
location:location
185185
source:source

src/api/NativeRNIterableAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface Spec extends TurboModule {
5454
messageId: string,
5555
location: number,
5656
source: number,
57-
clickedUrl?: string
57+
clickedUrl?: string | null
5858
): void;
5959
inAppConsume(messageId: string, location: number, source: number): void;
6060

0 commit comments

Comments
 (0)