Fulguris icon indicating copy to clipboard operation
Fulguris copied to clipboard

Custom tabs support

Open Slion opened this issue 2 months ago • 0 comments

As an alternative to WebView, apps can use Custom Tabs to display web content. Reddit app notably uses it when you click on a link post showing the custom tab for the default browser. When Fulguris is the default browser it shows and empty page. Actually for some links that empty page is working, like for GitHub so it looks like Reddit app is trying to fallback to WebView but not doing a really good job.

For instance this post has such a link: https://www.reddit.com/r/raspberrypipico/s/mix9dTztw9

Chrome, Firefox and DuckDuckGo all support Custom Tabs.

We will need to implement a CustomTabService and handle corresponding intents.

Custom Tabs usage example: https://github.com/GoogleChrome/android-browser-helper/tree/main/demos/custom-tabs-example-app

Documentation:

  • https://developer.chrome.com/docs/android/custom-tabs
  • https://developer.android.com/develop/ui/views/layout/webapps/overview-of-android-custom-tabs

Beyond that I guess we could also support Trusted Web Activity.

Slion avatar Oct 19 '25 09:10 Slion