In AppDelegate the method - (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray * _Nullable))restorationHandler { returns (quote from Apple Docs)
YES to indicate that your app handled the activity or NO to let iOS know that your app did not handle the activity.
The instructions for this library are to call a void method [RCTSpotlightSearch handleContinueUserActivity:userActivity]; and then always return YES. I want to add another potential method return [RNBranch continueUserActivity:userActivity];
For the correct return value and processing logic [RCTSpotlightSearch handleContinueUserActivity:userActivity] should therefore not be void but return YES or NO
In AppDelegate the method -
(BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray * _Nullable))restorationHandler {returns (quote from Apple Docs)The instructions for this library are to call a void method
[RCTSpotlightSearch handleContinueUserActivity:userActivity];and then always return YES. I want to add another potential methodreturn [RNBranch continueUserActivity:userActivity];For the correct return value and processing logic
[RCTSpotlightSearch handleContinueUserActivity:userActivity]should therefore not be void but return YES or NO