question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] Feature Request: Add an option to toggle "open links in their associated apps" function on/off

See original GitHub issue

Description

Users often ask or comment that they’re unable to open website links in their associated apps (on device) when available. Most notably reported when opening/browsing YouTube and Twitter links.

Notes/considerations:

  • This functionality is already present in Brave, but messaging/available information on this seems to (understandably) cause confusion about the way this feature works.
  • As it is, opening links on sites with an app-associated URL only opens the external app if the link clicked is hosted by a 3rd party source.
  • This means that if I visit reddit.com/ and click on a link to a YouTube video (assuming that Video playback in Brave option is disabled - otherwise it’ll open in Brave regardless), the I will be prompted to open the link in the app or in-browser (depending on the permissions settings). But if I visit YouTube.com in Brave and select a video to stream, the video will stream on the YouTube mobile website in-browser.

☝️ This method seems backwards to me - especially if you consider that we don’t really offer an explanation or documentation on the above facts. Users should not be required/forced to view content on the [relevant] mobile website - if a site has an associated app, it should be launched when a link is opened with a [relevant/app-associated] URL regardless of where that link is hosted .

In this situation I think Occam’s razor theory works best; if the URL points to a domain with an associated app, launch the app (if desired, obviously).

For example, visiting reddit.com/r/videos and clicking a YT link pointing to m.youtube.com/, youtube.com/, https://youtube.com/, youtube.be, etc should launch (or offer to, permissions dependent) the external Youtube app and play the content linked-to. Furthermore, navigating to Youtube.com in Brave and clicking a video to stream should also launch the external app and play the video content.

Example Solution

Kiwi web browser addresses this by providing a checkbox in their Accessibility settings. When checked, any link with an app-associated URL - whether hosted 3p or 1p - will launch the appropriate external app and display linked content: image

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:7
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Handling Android App Links
Add Android App Links ​​ Create deep links to specific content in your app: In your app manifest, create intent filters for your...
Read more >
Feature Toggles (aka Feature Flags) - Martin Fowler
Toggles introduce complexity. We can keep that complexity in check by using smart toggle implementation practices and appropriate tools to manage our toggle...
Read more >
How to turn Google Play Instant on or off
If you turn on “Upgrade web links,” and click certain links, the instant app may open and you'll be able to use some...
Read more >
Release notes for Android - Zoom Support
Hosts can enable the Q&A feature in meetings to allow participants to ask ... code snippet options can be controlled here, the corresponding...
Read more >
McDonald's Mobile Order & Pay FAQ
To remove a card on Android, press and hold until the "Remove" option appears. How Do I Link My Card for Payment in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found