407 questions
0
votes
0
answers
53
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)
....
1
vote
0
answers
67
views
TWA postMessage not working - No navigation events or message channel callbacks
Problem
I have a Trusted Web Activity (TWA) Android app built using Bubblewrap. The TWA launches successfully, and the CustomTabs service connects without issues.
However, I'm not receiving any ...
0
votes
0
answers
57
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, ...
2
votes
0
answers
129
views
Cookies are not set with CustomTabsIntent
I'm trying to set cookies for CustomTabsIntent:
val intent = CustomTabsIntent.Builder(mCustomTabsSession)
.setShareIdentityEnabled(true)
.build()
val headers = Bundle()
...
1
vote
0
answers
134
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 ...
0
votes
0
answers
115
views
what we need to know the risk of using Android Custom Tab
We are considering using the Android Custom tab for our mobile application. We have almost completed development and are now doing our test. During our testing, one of our team members was concerned ...
1
vote
3
answers
2k
views
How to Open a Chrome Custom Tab Intent in Android Using Kotlin?
I want to open a URL in a Chrome Custom Tab within my Android app (Kotlin). I’d like to have custom toolbar colors and potentially add an "open in browser" button. I’ve read that ...
1
vote
0
answers
90
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
44
views
Chrome Custom Tabs,java.lang.IllegalStateException: setPackageName must be called before bindSessionToPostMessageService
In my project, I use Chrome Custom Tabs and expect to establish communication through requestPostMessageChannel, but when executing this line of code, an error occurs: java.lang.IllegalStateException: ...
-1
votes
1
answer
207
views
Is there an approach to reuse the same Chrome custom tab that holds the same URL?
I am using the following lib: androidx.browser:browser:1.5.0
Current scenario:
My app contains a button that, when clicked, launches a URL using a Chrome custom tab. The issue is that when the user ...
0
votes
0
answers
107
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,
...
0
votes
0
answers
62
views
get url in Chrome Custom Tabs
I want to get the URL in Chrome Custom Tabs, and I wrote the code according to the demo.I set up the button according to this code, but after clicking, the obtained URL is null. Has anyone succeeded? ...
0
votes
1
answer
216
views
SFSafariViewController and Chrome Custom Tabs Cookie Behaviour
We have a mobile app that sometimes jumps out to our website to show certain pieces of content.
Currently for these jumps we use SFSafariViewController on iOS and Chrome Custom Tabs on Android, we are ...
12
votes
1
answer
863
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
571
views
Android WebView vs CustomTabs
As a part of my project, I'm expected to load a webpage using a web view within the app.
I could either use WebView or CustomTabs but the favoured option was to go with WebView for the UI ...