-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS AppDelegate integration #8
Comments
I can't in all honesty remember why I initially implemented it this way - feel free to create a PR with your proposed changes 😃 |
Trying to add RCTSpotlightSearch into the AppDelegate, however i cant seem to get both my existing RCTLinkingManager to work along side it. any suggestions?
|
I was getting the same issue and I don't know exactly if this is the right way but I resolved it by merging both the functions.
|
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 NOThe text was updated successfully, but these errors were encountered: