527 questions
0 votes
0 answers
55 views
TWA - Android Browser Helper - with GPS and Maps
I have used googles sample code to create an Android Browser Helper app for the google play store. Have found the source code from github. https://github.com/GoogleChrome/android-browser-helper After ...
0 votes
0 answers
37 views
NullPointerException: dexPath == null when running Chromium 136 bundle APK (PlaybackListenerService crash)
I am trying to upgrade my project to Chromium 136 and build a bundle APK. The local release APKs work fine, but when I install the bundle build from Play / bundletool, the app crashes with the ...
1 vote
0 answers
95 views
How to use PostMessage with TWA to enable communication between TWA & browser via JS?
My LauncherActivity.java file has the following code: package in.example.app; import android.content.pm.ActivityInfo; import android.net.Uri; import android.os.Build; import android.os.Bundle; public ...
1 vote
1 answer
133 views
position: fixed does not work as expected on Android browsers
I am trying to make a header (with a width of 100vw) fixed in the top-left of a page (with a width of 1024px) that contains a horizontal scroll. I am using position: fixed and left: 0 to achieve it. ...
0 votes
0 answers
55 views
Can we send back data from App to Chrome in previous opened Tab?
I have made a payment app in Java Kotlin. My requirement is that a webpage can call my app for payment then after successful payment I can response back that webpage with transaction ID. From web page,...
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 ...
5 votes
4 answers
1k views
JavaScript : window offline event not firing on Android phones (not in Android Browser or Chrome) and navigator.onLine Return always true
JavaScript navigator.onLine command suddenly stop working on Android phones, not in Android Browser, also not in Chrome! In Android Galaxy, as soon as you put on flight mode (or there is no internet), ...
0 votes
1 answer
621 views
launching Android Chrome Browser through Appium Automation using emulator is throwing error and chrome browser is not launched properly
Screen when the code is run and chrome is launched` Appium server is also running and even the chrome browser is launched but displays blank white screen after launching Below is the error while ...
1 vote
0 answers
183 views
Why window.onpageshow not running in android default browser?
Currently i'm trying to check if user press back button when running my webpage. I'm using window.onpageshow to check the experience. It works well in chrome and also safari. My problem is window....
1 vote
0 answers
76 views
MobileMonkey chat is not poping in Android webview only on Android 11
I am using mobilemonkey chat in my application, on clicking a button I am navigating to a webview. In Android 11 I am getting a blank white screen or sometimes monkey chat icon appears and moves back ...
1 vote
1 answer
671 views
Minimum Chrome version for TWA - options?
I have a Trusted Web Activity app that is displaying a Progressive Web Application by using the Android Browser Helper. The documentation and code indicates that the mobile app only runs properly when ...
1 vote
2 answers
594 views
how to retrieve a link when shared from another app in android?
Hello I am trying to retrieve url, shared from another app and toast it as well as open it in WebViewTab. But instead id of the app is displayed in toast. here is my code: val extras = intent.extras ...
3 votes
1 answer
1k views
How to detect Caps Lock is ON on web browser on Android Devices using JavaScript?
We can very well detect CapsLock is ON/not on iPhone web browser using KeyboardEvent.getModifierState(), with sample code, function checkCapsLock(e) { if (e.getModifierState("CapsLock")) { ...
0 votes
0 answers
466 views
why doesnt work audio on android browser?
I am using audio tag. This works chrome, edge and ie. But doesn't work on android browser. what should I do? document.getElementById('my_audio').play(); <audio id="my_audio" src="pages/alert....
0 votes
0 answers
181 views
How to get all browser history on Android Studio Project
I know the permission com.android.browser.permission.READ HISTORY BOOKMARKS permission was removed from Android version 6 and API level 18+. But is there any way to get all the browser history from ...