Questions tagged [android-chrome]

This tag refers to the Google Chrome browser version for the Android platform.

69 questions
2
votes
1 answer

Android Chrome runs requestAnimationFrame at 60FPS but renders at 30FPS

I am building a game with JS and I was testing it on Android Chrome and noticed that it is not working smooth, I could see stutters. Then, I set out to fix the performance problems thinking that my code is not optimized. I started debugging the game…
laltin
  • 1,134
  • 12
  • 20
2
votes
1 answer

Why can't chrome read local html file on android?

When I open a html file the chrome( on android ) says that file is not readable. But I have given permissions to file and media for chrome. Please help me to solve this! Thank you!
Surendra Rulz
  • 33
  • 1
  • 6
2
votes
1 answer

Website-specific page zoom on Android Chrome?

On iOS Safari, there's a Aa button to resize text/page zoom on any specific website (including one we have been working on). I couldn't find a similar function on Android Chrome aside from a global text size adjuster under Settings. That affects all…
user1946932
  • 474
  • 1
  • 16
  • 41
2
votes
1 answer

Onbeforeunload event in Android Chrome doesn't get fired

I need to save my session token in localStorage in order to get it back when user reloads the page: window.addEventListener('beforeunload', this.savetoken.bind(this)); window.addEventListener('unload', this.savetoken.bind(this)); function async…
Nemus
  • 1,322
  • 2
  • 23
  • 47
2
votes
1 answer

Why is Android Sign Out via Chrome Custom Tab losing cookies

My current Android Application uses Chrome Custom Tabs to both Sign In & Out. androidx.browser:browser:1.3.0-alpha04 The longer our users are signed in the greater the chance that user Sign Out fails. e.g. when the user has ben signed in for 60+…
Hector
  • 4,016
  • 21
  • 112
  • 211
2
votes
0 answers

Android Chrome does not automatically update service worker

I have a simple PWA in which push notifications are sent out daily. Push messages are turned into notifications through the following more or less trivial service worker: self.addEventListener("push", function(event) { if (event.data) { …
fuglede
  • 17,388
  • 2
  • 54
  • 99
2
votes
1 answer

Android - Get status codes of web pages opened in browser

In desktop browsers, an extension can trivially obtain the status codes of web pages opened in the browser. By status code I mean 200, 302, 404, 502 etc ... HTTP response status codes Response.status Now say that we have an Android App which is…
Yash Sampat
  • 30,051
  • 12
  • 94
  • 120
2
votes
0 answers

Building chromium android as library [android aar archive]

Want to build chrome project as aar instead of apk. Tried to change target_type to android_library from android_apk for chrome public apk but doesn't work. Looks like it would need a series of changes in different files for eg rules.gni, …
Robust
  • 239
  • 1
  • 3
  • 4
2
votes
1 answer

Theme color meta tags not working with specific color

A single color, old lace, is not working for me as a theme-color in the meta tag in Chrome Android. Other colors work well. I tried providing the hex triplet instead and still nothing. ....
2
votes
2 answers

Android Oreo WebView renders layout too small after 2nd loading

On some Android Oreo devices, when I load an url on webview for the first time, the URL page loads properly. However, when I load the URL again, the page is zoomed out. On devices lower than android oreo, the page loads properly for all devices.…
1
vote
1 answer

NullPointer Exception on BitMap.getwidth() at chromium-TrichromeWebViewGoogle.aab

I was getting below crash in Android Webview. I tried to load the webview for the functionality within the app and got this crash. Please advise on it. It's crashing on Android 13 (Samsung S21). Note: It is not crashing in Google Pixel (which has…
Dev
  • 119
  • 1
  • 4
  • 13
1
vote
0 answers

Android Chrome (106) sometimes fails to resize to full screen after keyboard usage

I noticed a strange behaviour using Google Chrome for Android (Version 106.0.5249.79) on an Android 12 device: It seems that leaving an input field and therefore resizing the viewport to the complete screen height sometimes fails and the viewport…
1
vote
1 answer

how to maintain specific version for embedded web view across different devices?

We have embedded web view using webkit in our app. implementation 'androidx.browser:browser:1.3.0' But when we install this app in different devices (mobile, android boxes, android tv's) the webview versions are showing different in different…
1
vote
0 answers

Android Chrome not cache big file even fetching by force-cache

I want to load and cache a big data file from the server. The dict.json file is about 30MB big. fetch('/data/dict.json', {cache: "force-cache"}) In Desktop Chrome, it works as expected. However, in android chrome, it still load the file everytime…
1
vote
0 answers

Android Chrome failed to repeat very long background image

One of my project requires to display a very long image (height to width ratio is very high, which is 1920x7500) as background image. The background image should repeat at y-axis, too. However, I have noticed that only Android Chrome have issue in…
wuiyang
  • 409
  • 2
  • 5
  • 18