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
0
votes
2 answers

URL still opened with webView even tho launched with android custom tabs

I'm pretty new to Android development and building a simple demo app to try out the Android custom tabs functionality. Yet somehow when I launched the app and tested it on the virtual device, I still see the URL is launched with webView instead of…
0
votes
1 answer

How can I capture a URL from Chrome Custom Tabs without clicks?

I am trying to switch to CustomTabs from WebViews as it has been disabled by Facebook for login. For this, I need to get the access token from the URL in the custom tab. How can I do this without requiring the user to click somewhere?
0
votes
1 answer

Is there a way to trigger an activity on a chrome custom tabs resume?

I don't think there's a way to do this but I wanted to double check. I have some web content being loaded in a chrome custom tab, and the content could be sensitive in nature. The android app has a PIN screen, which we would like to show when the…
Ben987654
  • 3,280
  • 4
  • 27
  • 50
0
votes
1 answer

Jumping back with App Links closes CustomTab

so what I'm trying to achieve is the following: In App 1, I'm loading a website in a CustomTab, this website jumps to App 2 via App Links. In App 2, after performing a task, I want to jump back to App 1, where the CustomTab still needs to be open as…
user969043
  • 756
  • 2
  • 13
  • 34
0
votes
0 answers

Android Custom Tablayout like Youtube

Excepted: Click this link to see image How to create custom tablayout like youtube. i achieved the same result by using below code but tablayout get shrink on some devices. Each device needs different height to set for tablayout. So is there a way…
0
votes
3 answers

Fatal Exception: android.content.ActivityNotFoundException: No Activity found to handle Intent

I'm getting following error on some devices while opening url. I don't get any error on my devices but many devices are. Fatal Exception: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW…
Aykut Uludağ
  • 1,876
  • 5
  • 18
  • 34
0
votes
1 answer

Single sign-on with Chrome Custom tab

Background I am implementing SSO (Single sign-on) for my android app and once user want to login i sent him to CustomTab with redirect url and once he is authenticated he get back to the app again with code and i use this code further to give him…
0
votes
1 answer

Inject or load html file into TWA/Custom tabs

I'm currently working on a TWA / Custom tabs application. Seeing as the user needs to load a website, I want to implement an offline page incase the user isn't connected to the internet. When using a webview, I can just load an html file, with…
Jan Meyer
  • 39
  • 1
  • 3
0
votes
0 answers

Difference between Chrome Custom Tabs and WebView

I'm using a webview to open a website. The problem I'm getting is after user clicks on a button, it always get stuck to the Loading dialog and doesn't show the expected results. But in Google Chrome or custom tabs, it works perfectly fine. I'm not…
Vishal Afre
  • 1,013
  • 3
  • 12
  • 39
0
votes
0 answers

Close CustomTabs automatically in React Native

I want to close CustomTabs automatically. I have added sagepay gateway in CustomTabs, its working properly but on success page its return array. I want to get that array back into app and CustomTabs would be closed. how can i get that array into app…
Ranjeet singh
  • 794
  • 1
  • 16
  • 38
0
votes
1 answer

Disable swipe to refresh in chrome CustomTab

I'm using chrome CustomTab to open a url inside my app, using customTabsIntent.launchUrl method and CustomTabsIntent.Builder. Here's how I'm doing it right now: CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); CustomTabsIntent…
Ashish Ranjan
  • 5,523
  • 2
  • 18
  • 39
0
votes
2 answers

Bluemix AppID Authentication

I am using Bluemix App ID. I am facing Problem with authentication Problem. It works fine when my device have chrome browser. Device without chrome browser cause Authorization Failure. Exception message is: Could NOT find installed browser that…
0
votes
1 answer

I want to Close Chrome Custom Tab when ACTION button is clicked

I am trying to integrate Chrome Custom Tabs in my Android App. Here is the requirement where I am stuck: 1. List of pdfs being shown in GridView. The user when clicks on any pdf will be opened on custom tabs. Here I will pass the position of item in…
reactivedroid
  • 752
  • 1
  • 7
  • 14
0
votes
1 answer

How many mayLaunchUrl we can run at a time?

I am trying to utilize ChromeCustomTabs into our project. I ran into several issue when I used mayLaunchUrl. I checked the code Google has on the github. I simply set up an button to test the mayLaunchURL (prerender feature), when I looked up the…
bj4947
  • 880
  • 11
  • 32
0
votes
1 answer

How to get navigation callbacks in customtabs

How to set the void onNavigationEvent(int navigationEvent, Bundle extras) for customtabs. My code looks something like CustomTabsIntent.Builder intentBuilder = new CustomTabsIntent.Builder(); …
iZBasit
  • 1,314
  • 1
  • 15
  • 30