Skip to content
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

[Bug] Parsing URL with hashbang (#!) #133

Open
lucianocn opened this issue Jul 27, 2017 · 0 comments
Open

[Bug] Parsing URL with hashbang (#!) #133

lucianocn opened this issue Jul 27, 2017 · 0 comments

Comments

@lucianocn
Copy link

lucianocn commented Jul 27, 2017

URL Example: https://www.getinapp.com.br/#!/restaurant/sao-paulo/el-tranvia-itaim-bibi


Test 1:

self.router[@"www.getinapp.com.br/:path(.*)"] = ^(DPLDeepLink *link) {
    // Function is called but is not recognizing the PATH (check LOG).
    NSLog(@"%@", link);
};

LOG:

<DPLDeepLink 0x170232600
	 URL: "https://www.getinapp.com.br/#!/restaurant/sao-paulo/el-tranvia-itaim-bibi"
	 queryParameters: "{
}"
	 routeParameters: "{
    path = "";
}"
	 callbackURL: "(null)"
>

Test 2:

self.router[@"www.getinapp.com.br/#!/restaurant/:city(.*)/:restaurant(.*)"] = ^(DPLDeepLink *link) {
   // Function is never called.
};
@lucianocn lucianocn reopened this Jul 27, 2017
@lucianocn lucianocn changed the title [Bug] Parsing URL with shebang [Bug] Parsing URL with hashbang (#!) Jul 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant