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

need urlChange listener when the url changes in custom tab #27

Open
john1jan opened this issue May 22, 2018 · 4 comments
Open

need urlChange listener when the url changes in custom tab #27

john1jan opened this issue May 22, 2018 · 4 comments

Comments

@john1jan
Copy link

Is there any callback method which we can use and check when the url changes in custom tabs

@john1jan
Copy link
Author

@droibit any update on this ?

@ghost
Copy link

ghost commented May 31, 2018

@john1jan What would be the use case for that? I think the rationale behind the decision to leave out such functionality from Custom Tabs (as well as from Safari View Controller in iOS) was to ensure the privacy of the user i.e. the application has no way to capture information from URLs, forms etc.

@ataillefer
Copy link

ataillefer commented May 31, 2018

Indeed for privacy reasons, for the Chrome Custom Tabs for instance the only navigation callback you can get are defined here: https://developer.chrome.com/multidevice/android/customtabs in the Custom Tabs Connection Callback section.

@t1amat9409
Copy link

@LunarSweeper use case would be, let's say you're are using a payment gateway that doesn't have support for mobile yet, and you want to listen for redirection, whether to your success/error url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants