7,455 questions
0
votes
0
answers
48
views
Web NFC API request denied error on Android WebView
When an NFC tag is being read by the Web NFC API through Android WebView, the following error is shown:
NotAllowedError: Failed to execute 'scan' on 'NDEFReader': NFC permission request denied.
...
0
votes
1
answer
61
views
No audio in WebRTC over WebView in Android PiP mode
I have an Android Webview that has a meeting running inside of it.
When I'm in full-screen mode, everything works perfectly.
However, when I enter the PiP mode, I lose the audio. Participants can hear ...
0
votes
0
answers
59
views
How can i download video on my webview , simple video download is working but when try to download from Pexels.com it failed
Below is my Android code. It is able to download images, document, and videos.
Problem:
Some platforms like Pexels.com keep their videos as parts or stream how to download them?
webView....
0
votes
0
answers
58
views
Android WebView: First tap on <label for="..."> focuses input but does not open soft keyboard (IME)
I’m developing a hybrid Android app using Capacitor (WebView). I’ve run into a strange bug that I cannot reproduce in Chrome browser, but only in Android’s WebView:
When the user taps a “label for”, ...
0
votes
2
answers
747
views
Android 15/API 35 Keyboard covering input fields after targetSdkVersion upgrade - solutions?
My HTML/JS/Tailwind website runs in webview packaged as an APK. Since upgrading to API 35+, the native keyboard covers the input fields of my website where it used to push it up. What makes this even ...
0
votes
0
answers
50
views
MJPEG with WebView in Jetpack Compose
I'm trying to display a live stream from my Windows webcam in an Android application. I'm using a Flask server to stream the webcam feed as an MJPEG video, and I want to view that stream inside the ...
0
votes
0
answers
47
views
Is there a way to have different cookies in each WebView in Android?
Is there any way to implement different cookie storage per each WebView in Android. Maybe I can implement it myself or anything like that?
I have tried to find a solution on the Internet but it seems ...
0
votes
0
answers
77
views
Android Emulator WebView does not see changed geolocation until I open the same page in Chrome
I have a barebones Android App with a WebView which loads a web page that wants to use geolocation.
All required permissions requested and granted. The web page gets the geolocation, but gets stuck on ...
1
vote
1
answer
127
views
How to get fetch TOWARDS localhost to FUNCTION on CORDOVA Android
My question is simple.
I make a call using fetch in my CORDOVA app like so, from the ./www/js/index.js script:
const response = await fetch('http://localhost:3000/poc3/convert', {
method: 'POST',
...
2
votes
1
answer
196
views
How to render reCAPTCHA html document provided by AWS WAF in react native web-view?
I am trying to integrate AWS WAF CAPTCHA inside a React Native WebView. The AWS WAF response provides an HTML document that includes scripts (CDNs) for challenge and CAPTCHA rendering. However, the ...
1
vote
1
answer
185
views
AppBar loads with delay when using AndroidView with WebView in Jetpack Compose
I'm building a Jetpack Compose screen that has an AppBar at the top and a WebView below it using AndroidView.
The problem is that the AppBar takes a noticeable moment to appear when the screen loads.
...
0
votes
0
answers
35
views
How to Capture a WebView Screenshot with a Specific Height and Width Starting from the Top-Left Corner?
I’m building a custom browser in my Android application and need to take a screenshot of each tab when a web page loads.
Currently, I’m using the following method to capture the screenshot:
public ...
0
votes
0
answers
42
views
How to hide a Header when scrolling down in Kotlin
I have a header which is basically a rounded rectangle with some text and two buttons and a background image behind the rectangle which stretches to the very top.
And, I have some ’TabRow’ buttons ...
0
votes
1
answer
360
views
Jetpack Compose: WebView Dark Mode?
How do I have WebView use the dark mode in Jetpack Compose (minSdk=33, compileSdk=35)?
What I get is a WebView that is black-on-white even if everything else is white-on-black; the same kind of ...
0
votes
0
answers
97
views
Can't serve http with WebViewAssetLoader - net:ERR_NAME_NOT_RESOLVED
I'm trying to develop an app that uses a WebView to connect to some services on my local network. Those services are all unsecured and so my web page connects to them via http://... and ws://.
...
0
votes
0
answers
60
views
Getting jerks while slowly scrolling react native webview/webshell NaiveAutoheightWebView
<NaiveAutoheightWebView
key={`webview-${i}`}
androidHardwareAccelerationDisabled
overScrollMode="never"
androidLayerType={'none'}
...
0
votes
0
answers
68
views
Permission alert now showing in flutter web view, while same url is asking for permission automatically in browser not in webview flutter android
I have tried InAppWebView & WebView both but permission alert box not showing in android app. Same URL is asking for camera permission automatically in browser but not asking for permission in ...
0
votes
0
answers
119
views
How to fix Media Stream Permission Denied in Flutter WebView?
I am working on a Flutter app where I am using webview_flutter to display a webpage inside a WebView. The app works fine for most use cases, but I am facing one main issue:
Media Stream Permission ...
1
vote
3
answers
311
views
WebView carousel within a LazyColumn
I have a TrustPilot webview within a LazyColumn but scrolling the carousel horizontally is very glitchy. Any slight vertical movement will be intercepted by the LazyColumn and stop the horizontal ...
2
votes
1
answer
230
views
net::ERR_ACCESS_DENIED despite setting all relevant WebView flags
I am trying to load an HTML file that I generate upon app's start, saved to:
/data/data/com.me.myapp/files/autogen.html
using:
public class FileUtils {
public static void saveToInternalFile(...
0
votes
1
answer
31
views
result.getExtra() not showing mailto:
This is Java code from my project in Android Studio:
webView.setOnLongClickListener(v -> {
WebView.HitTestResult result = webView.getHitTestResult();
Log.d("find_mailto", result....
0
votes
1
answer
77
views
How to set flag_keep_screen_on from javascript
I'd like to enable or disable the screen_on feature from JAvascript inside the webview.
This is how I tried to do it
@JavascriptInterface
fun setScreenOn(screenOn: Boolean) {
val window = ...
1
vote
0
answers
145
views
Use Web View with Android Automotive?
is it possible to use Web View with Android Automotive?
I am developing an Android app for Android Automotive in which I want to use a Web View.
According to some sources, that doesn´t work with ...
0
votes
0
answers
251
views
Soft Keyboard Overlaps Input in Android WebView but Not in Chrome (DotNet MAUI App)
I'm developing a .NET MAUI app with a WebView that displays my web app. On Android, when the soft keyboard opens, it overlaps input fields instead of panning the content upward (while it does it fine ...
0
votes
1
answer
367
views
Flutter - Android Web View camera, microphone and location permission Issue
I created a web video chat app that needs permission to access the Camera, Microphone and Location before making a call. The app works fine in browsers like Chrome and Firefox. The issue is that I'm ...