Skip to content

Commit 2e1137e

Browse files
fix: handle taskRemovedBehaviourValue on iOS (#314)
1 parent 5b688f7 commit 2e1137e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ios/react-native-navigation-sdk/NavModule.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ - (void)showTermsAndConditionsDialog {
151151
}];
152152
}
153153

154-
RCT_EXPORT_METHOD(initializeNavigator : (NSDictionary *)options) {
154+
RCT_EXPORT_METHOD(initializeNavigator
155+
: (NSDictionary *)options
156+
// taskRemovedBehaviourValue is Android only value and not used on iOS.
157+
: (nonnull NSNumber *)taskRemovedBehaviourValue) {
155158
dispatch_async(dispatch_get_main_queue(), ^{
156159
self->_tosParams = options;
157160
[self showTermsAndConditionsDialog];

0 commit comments

Comments
 (0)