Questions tagged [android-customtabs]

Chrome custom tabs give apps more control over their web experience, and make transitions between native and web content more seamless without having to resort to a WebView. Chrome custom tabs allow an app to customize how Chrome looks and feels.

Chrome Developer Site: https://developer.chrome.com/multidevice/android/customtabs

GitHub Demo: https://github.com/GoogleChrome/-tabs-client

91 questions
32
votes
3 answers

Custom Tabs Support Library

Recently was added this support library, but I couldn't find any example. What the purpose of this library? Could you post any example using this library?
juanhl
  • 1,170
  • 2
  • 11
  • 16
15
votes
1 answer

Android browser cuts the https:// scheme from complete qualifier

In my app, I show an external HTML site in either a CustomTabsIntent or a in a WebView: if (customTabsIntent != null) customTabsIntent.launchUrl(this, Uri.parse("http://some.where.com/site.html")); else startActivity(new Intent(Intent.ACTION_VIEW,…
11
votes
2 answers

How to OAuth 2.0 login using Chrome custom tabs (Fitbit API)

Fitbit API doesn't support webview anymore. So, I studied chrome custom tabs and applied in my app. But after login, when I pressed this pink button(allow button), nothing happened.(Image below) How can I receive access token and store it in…
10
votes
1 answer

Redirect in Chrome Custom tab is not captured for deep link

I'd like to capture a redirect that occurs in a Chrome Custom tab to ensure the user stays in a native mobile application. Here's how the Chrome Custom Tab is launched: val url =…
8
votes
1 answer

POST data via CustomTab or Chrome

I want send POST HTTP request via CustomTab or Chrome then show page finally. I many research but no way for it. is there a way? can send POST request via Volley then show response in browser finally?
7
votes
1 answer

Any browser doesn't support custom tabs feature?

I tried opera browser ,opera mini, UC mini, duckduckgo all support custom tabs, just wanna know in 2022 is there any browser still doesn't support custom tabs?
vanshu
  • 537
  • 1
  • 7
  • 17
6
votes
1 answer

Android custom chrome tab with deep links

I have an Android/Kotlin application and I would like to configure deep links for certain pages to open inside my application (to look native). At the moment, I have intent filters that redirect the user to an activity with WebView in which I open…
Smajl
  • 7,555
  • 29
  • 108
  • 179
6
votes
0 answers

Activity blinks after CustomTab closing

I have activity with button. OnClick opens CustomTab: public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
6
votes
3 answers

Chrome custom tabs and textview

I have a text view with a link inside it. In code I call the setMovementMethod to open the link when the user clicks on the text. But it opens it in the default browser or the browser chooser. How can I use chrome custom tabs with a clickable…
user3744384_
  • 337
  • 3
  • 15
5
votes
1 answer

How to open WebView or separate Chrome activity from Custom Tabs

I'm currently building an Android app as a TWA following guidelines from Google's sample TWA project and have stumbled into an issue when trying to open external links from within the TWA. From within my TWA, when opening an external link (such as…
5
votes
0 answers

OpenID AppAuth and Custom Tabs - never uses custom tabs, always external browser - why?

I am using the AppAuth library and I want it to use custom tabs but it never does on the emulator with play store support or on my device which is an HTC U11 running Oreo. Chrome is installed. I have tried a bunch of configurations but no luck. …
Kevin
  • 1,405
  • 15
  • 16
5
votes
1 answer

How to Hide custom tab action bar

Hi i am new to custom tabs i just want to hide action bar. Is there any way to do this any link, code and concept will be appreciated thanks in advance! Here is the code! CustomTabsIntent.Builder intentBuilder = new CustomTabsIntent.Builder(); …
Umer Khan
  • 486
  • 2
  • 11
5
votes
2 answers

How to hide certain actions from the Chrome Custom Tab menu (e.g. the bookmark and download buttons)?

I'm using a Chrome Custom Tab on my app and I'd like to be able to disable a few buttons that pop up automatically when I launch it to open a Google drive file, namely the button for bookmarking the page and the button for downloading it. I've…
5
votes
1 answer

Custom tabs for unhandled applinks

I have implemented applinks to handle all the url's from my domain as follows
5
votes
1 answer

How to launch any URL into Chrome Custom Tab as non-logged in

I have an android sample app where I want to open any URL into Chrome Custom Tab instead of WebView. I am trying from https://developer.chrome.com/multidevice/android/customtabs and able to do this. Here I'm facing a problem and that is - If I…
mdrafiqulrabin
  • 1,657
  • 5
  • 28
  • 38
1
2 3 4 5 6 7