Skip to content

Stops on first route matches even if it doesn't handle it #131

@glentregoning

Description

@glentregoning

Scenario:

  • I have two DPLRouteHandler's registered for the same URL path (say /mypath)
  • My first route handler returns false for shouldHandleDeepLink if there is a query parameter ( e.g. /mypath?skip_first)
  • In this case I'd like my second DPLRouteHandler to handle this case.

Issue:

  • Currently - [DPLDeepLinkRouter handleURL:(NSURL *)url withCompletion:(DPLRouteCompletionBlock)completionHandler] stops looking for matches after the first match returns false for shouldHandleDeepLink.

Ideally it would keep looking in this case until it finds a match which handles the link (or runs out of routes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions