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

ChromeSafariBrowser get URL on page change #349

Closed
hazzo opened this issue May 18, 2020 · 2 comments
Closed

ChromeSafariBrowser get URL on page change #349

hazzo opened this issue May 18, 2020 · 2 comments

Comments

@hazzo
Copy link

hazzo commented May 18, 2020

Environment

Flutter version:
1.17.1
Plugin version:
3.1.0
iOS version:
13.4.1
Xcode version:
11.4.1
Device information:
iPhone 11 Pro Max

Description

Retrieve url from ChromeSafariBrowser on page change.

What you'd like to happen:
On an event (for example 'onPageChange') be possible to get url.
The purpose of this is to use it with an oAuth system and be able to retrieve the url schema and perform necessary actions (close InAppBrowser and login to app),

@Ionys320
Copy link

👍

@pichillilorenzo
Copy link
Owner

It's not possible to have an onUrlChanged event for ChromeSafariBrowser because Chrome Custom Tab (Android) and SFSafariViewController (iOS) doesn't have such feature.
The only thing that is possible is Authentication Flow using Deep Linking that I need to implement.

Instead, if you need more control over your flow, you should use InAppWebView widget or InAppBrowser class.

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