406 questions
Advice
0
votes
0
replies
57
views
Can you close programatically an open Chrome Custom Tab Intent?
I have implemented an authentication workflow using Activities which works fine: a proxy activity launches an Intent to open a web, and during the authentication the web redirects to a separate ...
0
votes
0
answers
105
views
How can i run a custom chrome tab inside my app's window in recents?
i have this setup
LaunchedEffect(authUrl) {
authUrl?.let { url ->
val customTabsIntent = CustomTabsIntent.Builder()
.setDownloadButtonEnabled(false)
....
0
votes
0
answers
71
views
Intermittent Failures Launching App from AppLinks using Chrome CustomTabs
I'm developing an Android app that utilizes AppLinks and Chrome CustomTabs to deep-link from a website to the app itself.
This implementation adheres to the recommendations outlined in RFC 8252, ...
1
vote
0
answers
152
views
How to clear flutter_custom_tabs browser cookies?
I am using the flutter_custom_tabs package in my Flutter app to handle login scenarios. The flow works fine when the user successfully logs in, and I can redirect them back to the app.
However, I need ...
1
vote
0
answers
105
views
Loss of Internet Connection in Main Activity While Using Custom Tabs in Flutter on Android
I'm encountering an issue in my Flutter application where I lose internet connectivity in my main activity when a custom tab overlay (using the inappwebview package) is open in a second activity. The ...
0
votes
0
answers
124
views
Why CustomTab is recommended to use instead of Webview?
Recently while integrating other applications or services into my application, I have seen the Providers are saying that Webview is not recommended and use Custom Tabs like that.
My questions are,
...
12
votes
1
answer
962
views
How to detect the Minimization of Custom Chrome Tabs on Android?
Context:
Our app recently switched to using Custom Chrome Tabs for authentication. WebViews wouldn't allow login from Google and Facebook due to privacy restrictions.
Everything worked well using ...
0
votes
1
answer
840
views
Implementation of PostMessage for TWA android application
Used this documentation. Works.
https://developer.chrome.com/docs/android/post-message-twa
BUT! If we change "relation" in assetlinks.json: ["delegate_permission/common.handle_all_urls&...
0
votes
2
answers
821
views
How can I set custom user-agent or custom header in a Trusted Web Activities (TWAs) app which is built using pwabuilder.com website?
I'm developing a Trusted Web Activity (TWA) app using PWABuilder and am facing a challenge with user permissions and notifications. I need to differentiate between users accessing the app through the ...
0
votes
1
answer
1k
views
Is it possible to redirect the user back to an Android application from a Chrome Custom Tab?
I am looking to migrate existing social sign-in redirect URLs from a custom URL protocol (myscheme://) to an https URL scheme (https://). This change would be made in a React Native project, but only ...
0
votes
0
answers
214
views
Xamarin Forms Android activity for re-opening "chrome custom tabs"
We have developed app-A in latest Xamarin Forms for Android and iOS. This problem is on Android only.
In order to log into app-A (Android) we use the WebAuthenticator.AuthenticateAsync to open up &...
0
votes
1
answer
1k
views
Handling Authentication Flow via Custom Tabs with Flutter: Non-Chrome Browser Support
I'm currently working on a Flutter app that requires third-party authentication, and the authentication flow needs to be completed in a browser. Previously, I used a WebView to achieve this, but the ...
1
vote
0
answers
257
views
How do you resume a Chrome Custom Tab on Android when opening your app through an Android App Link from another app?
Assume the following:
You open App1
App1 opens/starts a Chrome Custom Tab (as I understand it, this is a new activity that is pushed to the stack)
The Chrome Custom Tab opens App2 through an Android ...
5
votes
0
answers
706
views
Detect is Chrome custom tab was closed?
How can I detect if a Chrome Custom Tab was closed? Is there any callback for this or do I have to use onResume etc. events of the activity launching the Chrome Custom Tab?
I've seen that there are ...
2
votes
2
answers
801
views
How do you know if a Redirect in an Android App is via Chrome Custom Tab or WebView?
I am a new dev in an android app and wanted to know how do I find out if a redirect in an app is to a WebView or a Chrome Custom Tab?
3
votes
1
answer
1k
views
Chrome mobile annoying popup to open Android app intent
Let's assume we have installed Android app in the mobile phone with intent filter scheme android-app-scheme and some registered host with path pattern in data of intent filter.
If we use this code in ...
7
votes
0
answers
559
views
How can a native Android App support multiple SSO providers and allow users to login with different accounts without requiring manual logout in Chrome
I am trying to implement an SSO login in a native Android app and want to follow the best practices outlined in RFC 8252 (OAuth 2.0 for Native Apps). This requires using Custom Tabs rather than ...
4
votes
1
answer
330
views
how to force dark theme in custom chrome tab?
I'm working on an Android App which supports dark theme. I use Custom Chrome Tab to display web page. Just wondering if there is any way to force dark theme in custom chrome tab.
1
vote
1
answer
531
views
How can I change navigationbar color when using TWA or custom tabs?
I am using TWA . It is all Ok .But how can I change navigation bar color? I tried to change the app theme but no effect.
0
votes
1
answer
979
views
Adding cookies to Custom Tabs in Android
I'm trying to pass a cookie to custom tabs like in webview so that the user doesn't have to login, I've seen other questions but all of them were 6+ years old so I'm wondering if it's possible to do ...
0
votes
2
answers
803
views
Can we restrict screen capture using secure flag for chrome custom tab in android?
I am using chrome custom tab to display data in one screen. But data is sensitive and need to protect it by disabling screen capture functionality of devices.
It would be great help if any one could ...
0
votes
1
answer
1k
views
Hide the location bar in Chrome Custom Tabs in MAUI
So that I don't ask the wrong question, my end goal is to build a PWA that is accessible from Android 5.x and up now and iOS later in the year. The main problem with this is Classic Bluetooth is not ...
1
vote
1
answer
549
views
Programmatically hide and show keyboard using Chrome Custom Tabs
I am using this package to use the Chrome Custom Tabs view in a Flutter application.
Essentially we have a website we've built an APK around using a web view but due to customers and their old devices,...
0
votes
1
answer
2k
views
Chrome Custom Tab support in capacitor
Is there any way to make Browser Tab work with a capacitor react project.
I found that it's supported in ionic. I'm relatively new to ionic and capacitor.
I'm trying to use this ionic plugin in my ...
1
vote
1
answer
2k
views
Error on load Chrome Custom Tab in Android 11
Chrome custom tab work in every other device. Only error in Android 11.
Here is my code how I put I code in my app.
ImageView adCustomBannerImage= findViewById(R.id.adCustomBannerImage);
...