Skip to content

iOS AppDelegate integration #8

Description

@martinlockett

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions