-
Notifications
You must be signed in to change notification settings - Fork 179
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
Open links in-app by default on Android, once that has a good UX #279
Comments
Milestoning as post-launch based on the scenario where it falls to us to fix the upstream issue. But if someone else picks up that upstream issue and fixes it sooner, then what's left of this issue will be an easy tweak and we should go ahead and do it. |
The second TODO, about the behavior of externalApplication, turns out to be just how things work these days on Android: #74 (comment) The first one, about the behavior of inAppWebView or platformDefault, I've filed as #279. I also added a number of details on the upstream issue, and cross-linked it with a couple of other issues that would be fixed by the same solution.
I opened flutter/packages#4739 which uses Android Custom Tabs when |
url_launcher plugin now supports the desired behavior, which is using Android Custom Tabs, so we don't need the workaround of opening the links in external browser. Upstream PR: flutter/packages#4739 Fixes zulip#279
`url_launcher` plugin now supports the desired behavior, which is using Android Custom Tabs, so we don't need the workaround of opening the links in external browser anymore, thus removed them. Upstream PR: flutter/packages#4739 Fixes zulip#279
When opening an external link, we have a choice whether to do so within the app or in an external browser.
Currently we do so following the upstream Flutter defaults (documented at launchUrl), except that on Android we always use an external app rather than the in-app browser. That's because Flutter's implementation of the latter is currently not a good UX:
Once that's fixed, I think it'd be best to default on Android to opening in-app, just as the Flutter
url_launcher
plugin defaults to. That's what we chose on zulip-mobile, for reasons discussed in this chat thread, and I think all the same reasoning still applies.Separately:
url_launcher
default, so we should adjust that: Open links externally by default on iOS #280The text was updated successfully, but these errors were encountered: