Questions tagged [chrome-custom-tabs]

Chrome Custom Tabs provides a way for an application to customize and interact with a Chrome Activity on Android, to make it a part of the application experience, while retaining the full functionality and performance of a complete web browser.

Documentation: https://developers.google.com/web/android/custom-tabs

GitHub Demos: https://github.com/GoogleChrome/android-browser-helper/tree/master/demos

396 questions
0
votes
1 answer

How to pre warm / pre cache a Trusted Web Activity

I'm currently using the TwaLauncher class to launch a Trusted Web Activity from my app using code like the following: val launcher = TwaLauncher(context) launcher.launch(Uri.parse(URL)) This launches a TWA from within a broader…
0
votes
1 answer

Web Application on Android with Javascript Google API

I am trying to make small android application that controls google sheets. I want the whole thing in html,css,js where I use api for google sheets. My problem is I cant find solution to login to javascript by the account witch is on the android…
0
votes
1 answer

Chrome Custom Tabs vs WebView for performance

I have run into some rendering performance issues for my web app running in an Android WebView wrapper app. I have seen some allusions around the web that Chrome Custom Tabs may perform better, due to using Chrome rather than WebView. However, I…
Ogre
  • 781
  • 3
  • 10
  • 30
0
votes
1 answer

Android: Load own stylesheet in Chrome Custom Tabs

I have a question. Is it possible to load my own CSS stylesheet when opening a page with just HTML in Chrome Custom Tabs? So the page has just plain HTML and I would like to apply my own styles.
John Doe
  • 131
  • 10
0
votes
1 answer

SAML authentication on Android mobile app

I'm trying to integrate my android mobile app with SAML authentication service. I created a webview and call the provider url. My webview is redirected to the auth form and I fill it with user and password but after that my webview is redirected to…
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

Get notified for file downloaded via Chrome custom tabs on on Android App

I'm using chrome custom tabs on an Android App to open a webpage. Inside the webpage, I'm downloading a file. Is there any way on Android, to get notified after the file has been downloaded ? Any help would be great as I scanned through all official…
Gissipi_453
  • 1,250
  • 1
  • 25
  • 61
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

Android chrome custom tabs backstack problem

I am using chrome custom tabs to integrate a payment gateway inside an Android App. Inside the payment gateway I have have to provide payment_success_redirect url and payment_fail_redirect for fail. Problem here is that whether payment succeeded or…
Sumit Shukla
  • 4,116
  • 5
  • 38
  • 57
0
votes
2 answers

Web on mobile - Open URLs in full browser apps when navigating from Chrome Custom Tabs or Safari ViewController

I have a web page that is often launched from inside an Android/iOS app in their respective "tab system", Chrome Custom Tabs / SFSafariViewController. The requirement I have is to have some urls redirect and open in the full browser app instead of…
MadDim
  • 543
  • 6
  • 22
0
votes
1 answer

Getting response headers

Is it possible to get response headers from Chrome's Custom Tabs? If yes, how? Or if its possible with WebView, I want to get response cookies and I don't want to use networking libs like retrofit or okhttp
Jason
  • 444
  • 4
  • 6
0
votes
1 answer

Geolocation in Chrome custom tab android

I want a method like ongeolocationpermissionsshowprompt in webview to be used in chrome custom tabs, or a way to manage location permission by my side. Thanks!
M.SH
  • 357
  • 2
  • 8
  • 22
0
votes
1 answer

Open custom tabs in fragment

I have implemented custom tabs in my app and I have bottom navigation bar. When I click on any item in the bottom bar the fragment opens. Inside the fragment the custom tabs have to open. Custom tabs have to be open in a view not as a separate…
0
votes
1 answer

Hide div in a Custom Tab opened from a Trusted Web Activity

I have an Android app which uses Trusted Web Activity with an external link. When clicking link it opens in an in-app browser (Custom Tabs). I want hide a div in that Custom Tabs page, but I want to show that div when the site opens in Chrome. Is it…
0
votes
1 answer

Hide Terms of Use Prompt when using Chrome Custom Tabs

I've developed an Android App that uses Chrome Custom Tabs and my app is used for Check in Check out scenario where a new user has to Login and Logout in every 2 hours. Therefore every time they login, Chrome presents a Prompt to accept Terms of…