Skip to content

Open links in-app by default on Android, once that has a good UX #279

Closed
@gnprice

Description

@gnprice

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:

  • We should offer an option (again just as we do in zulip-mobile), so that this is only about the default. That's part of Store some client settings #97.
  • On iOS our choice in zulip-mobile was to default to an external app, unlike on Android. That reasoning is in the same thread and again I think it all still applies. That differs from the url_launcher default, so we should adjust that: Open links externally by default on iOS #280

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-AndroidIssues specific to Android, or requiring Android-specific work

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions