Questions tagged [webview]

Elements in graphical user interfaces that host HTML content. For Android, please look at the android-webview tag. For iOS, look under uiwebview or wkwebview.

0
votes
0answers
4 views

Android 9 WebView is showing a black pop up in some devices

I have been trying to figure out why one of the pop-ups inside a webview is showing a black screen in some devices. please see attach
6
votes
3answers
85 views

Binding javascript code to android code with objects parameters

As the title suggests, I'm trying to bind javascript code to my android app so I can react in my app to an event/message that my website is sending. After reading the official android documentation ...
3
votes
0answers
34 views

Facebook In-App Browser on iOS doesn't handle correctly inputs within iframe

The issue only occurs on Facebook's In-App Browser (and Messenger) on iOS. Doesn't reproduce on Safari @ iOS, Chrome @ iOS or Facebook's In-App Browser on Android. When having an input inside an ...
0
votes
1answer
22 views

How to solve this overlapping issue between tabview and scrollview

Content is displaying in webview you can see in the screenshot, issue is when i scroll up screen it is overlapping tabview i think issue with that tabview, and black screen is appearing on the top, I ...
1
vote
0answers
13 views

File upload form elements don't work on xamarin ios but its working fine with android

i am using webview and in my application there is upload button and its working fine with android but in ios when i click on button it shows options like Take photo, Browse gallery etc. when i click ...
0
votes
0answers
16 views

How can I hide Google translate bar in webview_flutter?

I'm using webview_flutter I just want to show WebView, but Google's translation bar will be displayed. How can I hide it? Any advice will be appreciated. Thanks.
0
votes
0answers
7 views

Send message from WeChat mini-program to web-view

I'm building WeChat Mini-Program that on one of it's pages has web-view control. For example: page.wxml <web-view src="https://..." bindmessage="onWebViewMessage"></web-view> page.js ...
-2
votes
1answer
23 views

How can i select same name Radio button with java script In android?

I have multiple radio button with same name and id and want to select the radio button with javascript. <input type="radio" name="Custom.SELECTED_INDEX" id="Custom.SELECTED_INDEX" value="1" class="...
1
vote
0answers
9 views

Is that possible to bundle a browser with an ionic app and use it as the driver instead the default browser? How?

My problem is with ionic is the same with webviews in general: things ( even which supposed to) still in 2019 don't work the same way in different browsers, so more complex/advanced features of ...
0
votes
0answers
9 views

Is there any way to speedup the loading time of flutter web project

I tried to build a website using flutter, but when I tried to build it, it is loading pretty slower, is there any way to fix it or do I have to shift to some other platform to build my website
0
votes
0answers
15 views

How to open links that don't belong to my domain in browser - React Native Webview

Hi I am using react native's webview to display a website url. I want that when a user clicks a link inside the website(a line that doesn't belong to my domain), it will open the user's browser with ...
0
votes
0answers
13 views

Migrating Javascript Interface from UIWebView to WKWebView

Recently I've been migrating my web view app from UIWebView to WKWebView. Everything was going well, until I got to migrate a class which I published methods from swift to be invoked in the webview, ...
1
vote
2answers
27 views

How to resize the webview According to the size of device Screen in android studio

I've created an android studio project with web view. Web view contains responsive website. I've tested my app with smart phone(nokia3). but I don't know how it works with tab. because I don't have a ...
0
votes
0answers
21 views

how to load custom fonts in webview in xamarin forms uwp project

Im having problem to load and apply custom fonts in html data loaded into a webview component in a xamarin forms UWP project.Since the fonts doesnt get loaded, the proper font is not applied to the ...
-1
votes
1answer
16 views

What font file type to use in Android WebView?

I'm successfully using font-awesome 4.7 in an Android Webview app, but the font folder contains .otf, .eot, .ttf, .woff and .woff2. I've noticed that these files are actually the biggest files in my ...
0
votes
0answers
33 views

Is there any way to use a post when launch a chrome browser on webview?

I'm new to Android app development and I'm creating android webview based application and, my clients required me to add some features to the app. In current app, when a users click a registration ...
0
votes
0answers
29 views

Is web view support multiple languages url in swift?

I am testing an application where i have two two url in english and Urdu and what i want achieve is that when user click on Urdu app load Urdu url and if user click english then english url will be ...
0
votes
0answers
18 views

How to disable user scrolling webview but enable selecting text base on Chrome app version 75

When devices upgrade Chrome app version 75, All of solutions from Stackoverflow about disable webview scrolling but enable select text are not working. But Chrome app version 74 or lower version is ...
1
vote
0answers
11 views

insert script to iframe in webview in electron

I have a project by using electron and use webview to wrap a website, I want to insert some script to the iframe in the webview, what can I do? I have try with code like this, but it seems useless; &...
0
votes
0answers
9 views

Cannot create admob banner over a webView in a linear layout

As the titles says, im trying to create admob banner over a webView but the application keeps crashing and stopping I tried to add the orientation of the layout but it did not work Thank you guys ...
0
votes
0answers
18 views

Electron BrowserView Renderer process vs WebView

I am porting an electron app from a traditional renderer + webview structure to BrowserView objects. The application uses some Browserwindows to display a webview fullscreen in all available monitors. ...
0
votes
3answers
31 views

Open specific links in browser, instead of webview by regex

I'm using parts of code form some tutorial to create webview app. Goals is - to open links, that not contain appdev365 in browser, not in webview. I am completly noob at android development, so all ...
1
vote
1answer
37 views

Android Java : Error when submit form(post) on Webview

I want to load in webview this page, https://pkfieur.gares.io/pk2geo/, and past data in "Ligne" and "PK" and click on "Rechercher". Past data isn't a problem, but the submit yes. Here the html: &...
0
votes
0answers
13 views

Caching the webpage in webview offline throws ERR_CACHE_MISS only in some websites

Android cache in webview throws ERR_CACHE_MISS for some website(my website), even after inserting proper permission as <uses-permission android:name="android.permission.INTERNET" /> <uses-...
0
votes
0answers
20 views

How to stop infinite scrolling in web view in Android Studio

I added web view to my android studio project(activity_main.xml).also added progress bar,swipe refresh layout also.So when scrolling web page three or four times,page goes top indefinitely.It doesn't ...
0
votes
0answers
11 views

SAML: “Rejecting replayed message ID” when using iframe/webview on iOS devices

A client of mine has set-up a page within their Native iOS App that contains either an iframe/webview element that contains my URL to my SAML process. When the page loads the iframe loads the ...
0
votes
0answers
7 views

Real content position differs from what is actually visible

In cordova mobile app we display external content in iframe. It happens sometimes that real content position differs from what is actually seen. It is impossible to click the button as it is not at ...
0
votes
0answers
21 views

Webview Audio Permission

I want to open a recording audio website in my webview. And when I load, it asks for permission and granted successfully but webview still says permission is not granted. Any solution for that. It ...
0
votes
0answers
29 views

How to fix cannot access video stream (NotAllowedError) in flutter webview to use html5+webRTC camera api?

I am using instascan.min js library to scan QR Codes in my web angular js application. but in my flutter web view, I got an error - Cannot access video stream (NotAllowedError), And I am unable to fix ...
0
votes
0answers
10 views

How to retrieve the HTTP status code of a loaded Web Page in web view

how to get the HTTP status code of a web page URL in Web View? Note: supporting android L and above
0
votes
0answers
23 views

Will PWA prompt to install when inside webView?

Provided we have a PWA ready website (with proper manifest.json, Service Worker intercepting fetch requests, etc.) that actually prompts to add to homescreen, and then it is used in WebView for mobile ...
0
votes
0answers
9 views

Andoid webview onShowFileChooser whether Storage permissions required?

149/5000 When I used webview to get pictures of Android phone album by rewriting onShowFileChooser, I did not need to apply for storage permission on phones above 6.0, and I could get pictures ...
0
votes
0answers
26 views

Webview webpage + Video or Youtube

I recently found a digital billboard project called DisplayMonkey, which shows me digital content such as: images, videos, html, etc. The problem is that when you show a YouTube video or any other ...
0
votes
0answers
22 views

Opening URL from Webview not working in React Native

I am loading some webview in React Native using some URL. After loaded webview page, I have some social network links in that webview page. So, I am trying to open those url's once user tap on them. ...
0
votes
0answers
8 views

access window.postmessage in android native uicomponent for webview and pass to RN

I have used Webview in android and ios by creating native ui components in react-native. In the webview after performing some action there is a button click happening on which the website throws ...
0
votes
1answer
11 views

Unable to create layer for WebView with NestedScrollView

I'm adding to NestedscrollView to a webview to can hide/show the toolbar when user do a scroll. The activity is working fine until I added the NestedScrollView to can do the hide/show movement. In ...
0
votes
0answers
11 views

playsinline is not working in reddit, snapchat webviews

I have used react in one of my videos social media website. I have used react-player player to play videos. I need to autoplay videos when the website is opened. I have mute the video player and set ...
0
votes
0answers
23 views

Google Recaptcha v2 keep repeating on Webview

I have created an app that contains webview, but when I am solving google recaptcha v2, it keep on "try again" but I did not miss or got wrong in the images. webSettings.setDomStorageEnabled(true); ...
0
votes
0answers
10 views

Android integration Angular Web View

I have a webpage in Angular. I want it to open inside a webview from native android app and pass some data which could be accessed inside Angular application. In a webpage build using vanilla JS, I ...
0
votes
0answers
33 views

Baseurl of react native webview

I am using webview in react native with html code and some resources that are stored in android assets folder.. I need to update the data in some of these files, but as you know the assets is read ...
0
votes
1answer
37 views

How to pass variables using javascript from react native to the webview?

How to pass variables using javascript from react native to the webview and use these variables inside html code in the webview?
0
votes
2answers
48 views

Some website images are not showing in the webview of the android

I am trying to load a website(http://www.mdzaika.com/) through the webview of Android. But some of the images are not displayed in the webview. The issue I have seen on a particular website, I have ...
0
votes
1answer
14 views

How to load POST request to a Webview with headers and body on Android

So i have a url, a bunch of headers and a body containing several values in json format that i need to load to a Webview. The following code doesn't seem to be working. public void createWebview(){ ...
-1
votes
0answers
18 views

FONT SCALE setting on android causes android webview to not fit

I am creating and Android application which uses WebView. There are some buttons in the WebView, which fits perfectly. But when Change Font Scale in system settings, the buttons won't fit. I created ...
0
votes
0answers
11 views

Use GeckoView in react native

I'm working on a react native project that requires GeckoView as the browser for the WebView. However, since it's a native android library I'm not sure if I can use it in react native. Is there any ...
0
votes
0answers
14 views

Both webView and iFrame overriding 'transparent:true' property in Electron.js browserView

I have a browserView embedded within an electron.js application I am developing. I would like the background for this browserView to be transparent, which works without issue until I attempt to add ...
1
vote
1answer
36 views

Advanced webview not loading URL properly

I am using advanced webview in my app. I followed the steps as listed in https://github.com/delight-im/Android-AdvancedWebView. The problem is , the webview is not loading the URL properly, meaning ...
0
votes
1answer
32 views

CSS in Tizen WebView (EFL WebKit) wouldn't honor font-family

I am rendering some HTML using WebView based on EFL WebKit in Tizen 2.4 and 3.0 SDK. <div className="hexArea" id="hexArea1"> Content </div> and corresponding CSS: .hexArea { ...
0
votes
0answers
14 views

What options are there for low latency video streaming in the iOS webview?

I need a to display a low latency (less than 5 seconds) video stream in my HTML5 app. The app is running in a webkit webview on iOS (not mobile Safari). I have explored and eliminated the below ...
0
votes
0answers
12 views

Is there a way to open a local doc or xlsx file inside the app?

Is there a way to open a local doc or xlsx file inside the app? iOS allows to open all types of documents inside webview, is there a way to do the same in Android?