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
5 views

how can I use ReactNative WebView component to show a specific part of a webpage in my Android app?

I want to use ReactNative webView component in my android app and show just a specific part of a web-page. for example I want to show the contents specified by the red rectangle in the image below: ...
0
votes
0answers
11 views

How get content of webView in android using NativeScript framework

Is there a way I can read the content of webview after the page is loaded in android using nativescript. I am using this webview : https://docs.nativescript.org/angular/ui/ng-ui-widgets/web-view I ...
1
vote
0answers
20 views

How to play video withing the webview fixed frame fetches from a html website

I am working on a project and i have spent almost 2 days to find the fix for it , actually i have a fixed frame webview in my viewcontroller and i want to play the video inline within fixed frame. ...
0
votes
0answers
5 views

Different urls in one web view

I want to display many PDF(around 50) in my android app. Now how I open different PDFs which have different web URLs in single webview.
0
votes
0answers
26 views

Adapt the height of a webView to the height of its content

I would like the height of a webView adapt to the height of its content. The content should be covered just so without scroll bars being placed -- the webView should not be much bigger. The following ...
0
votes
0answers
10 views

Disable TLS <1.2 in WebView

i want a webview to disable any connections with no TLS1.2 encryption, in Order to prevent MIT attacks. min SDK ist currently 16, but i'am willing to go up to 23 if this should be nesseccary. I'll be ...
0
votes
0answers
12 views

Android single Web View to open multiple pdf

I want to display many PDF(around 50) in my android app. Now to display these how can I use single Activity to open all the PDF or I have to make 50 activity. Does making 50 activity to open 50 PDF ...
0
votes
0answers
28 views

How to open video URL in YouTube app in full-screen?

I want to open any YouTube link from a webView in YouTube app but in full-screen, in the Navigating event I open the URL in the device browser to be redireted to the app: private void ...
-2
votes
0answers
15 views

How to use custom headers in qwebbrowser qt [on hold]

Please help me out... I want a custom headers to be included in WebAxWidget. Need the class functions support for QWebBrowser customization. #include <QApplication> #include <QMessageBox>...
0
votes
1answer
7 views

How to show website notifications in android webview

Hi I have a Freelancing wordpress website , i am developing an android app that uses webview to show website . My Website has notificaios like when a new post comes or somebody messages to another . ...
0
votes
0answers
8 views

Why webview can't save Facebook timeline for offline use?

I've search in here and use cache in webview to show page when offline. But I don't know why it's not work with facebook page. I login to facebook and get a timeline, after I quit app and turn wifi ...
0
votes
0answers
22 views

Swift - didFinish navigation never called on load method

I want to try the hasOnlySecureContent flag and I have this code: import UIKit import WebKit class ViewController: UIViewController, UITextFieldDelegate, WKUIDelegate, WKNavigationDelegate { @...
-2
votes
0answers
18 views

Why my Web view showing Facebook page like this

My webview is showing facebook page like This But I want it to be like As i want How can i get this type of se page....
-2
votes
1answer
30 views

In xamarin Forms how to stop the webview youtube video when go back?

how to stop the youtube video in web view when going back are OnDisappearing method is called. I have the following XAML web view: <ContentPage.Content> <StackLayout> <...
0
votes
0answers
12 views

send chatfuel user attributes to my webview using express js

I'm working on a bot and I have a button that opens a webview with a form that should be filled from chatfuel user attributes. The problem is that I can't figure out how I can get these user ...
0
votes
0answers
10 views

Landscape status bar trace stays in portrait mode

I am creating app that uses WebView to show some Scene created in WebGL. I don't want to reload everything whenever user rotates screen, so i followed offical guide and I'm handling orientation change ...
0
votes
0answers
25 views

iOS-WKWebView manage user interaction without go back on last caller View

This is my first app to iOS and i do the same app to Android without problems. The app is simple, a menu with 4 buttons and one of this buttons open a View (Activity Android) and in this view is ...
0
votes
1answer
15 views

Share cookies between react-native and swift

I am in a bit of a pickle. I have an app (old, ugly, not mine) that uses react-native (0.29[!]) and swift. I am letting the user login into a site in the react-native part of the app, later on I want ...
0
votes
0answers
20 views

Web View showing no response with Post type request in android

I am trying to POST request type url using Web View but it is now working there. It is not showing any error in stack trace and nothing is showing on the WebView, only blank white background is coming....
0
votes
1answer
17 views

Can't download webpage to sdcard android webview

I have a webview in my app to show facebook link, now I want to save page to html file and store in sd card for when offline, app will load that page to user. But I can't download it? I don't know why....
0
votes
0answers
13 views

Android Webview and retruning back the data to angular 5 application input file

i have a requirement such that in Android Native application, the webview of Angular 5 application is loaded and we have a functionality where input file with change event trigger shows the preview of ...
-2
votes
0answers
12 views

Android Webview issue regarding .org websites

I have given the URL of an .org website in Webview while developing Android app, there are no errors but when I open the app nothing is displayed. Is it that .org websites don't open in Android ...
0
votes
0answers
21 views

Couldn't detect http error for API less than 21

I have an Android Webview code which fails to detect HTTP errors for API less than 21. What I have tried: have done several trial and errors with @Override public void onReceivedError(WebView ...
0
votes
1answer
18 views

WebView Local Html And Canvas?

So as for experiments, I was messing around with the WebView component and playing around with loading in local HTML files. Now what i want to figure out, is say i have a canvas element within my ...
-4
votes
0answers
34 views

How to show a website in an android app which requires flash using webview or some other method

I want to create an android app which can show a website in it. This website requires flash to work, hence it can be only viewed on a desktop. As normal websites work in WebView, flash is no longer ...
0
votes
0answers
40 views

Fully remove Android as OS from WebView agent

I have a webview in my native android app and need to set the agent to fix desktop view on certain websites that check for android agent using javascript JavaScriptCode: if (navigator.userAgent....
0
votes
0answers
14 views

How to Get URL from Ajax Request Android WebView?

I am making a simple web browser using Android WebView, I have an EditText as the search bar, I am updating the EditText when page load finishes. The problem is when I visit YouTube it load videos ...
1
vote
0answers
15 views

Javafx Webview video fullscreen

I'm writing a web browser with Javafx. I've come a long way in the project. However, I noticed that the web view doesn't have full screen support. I did a lot of research on this, but I didn't get any ...
0
votes
0answers
26 views

React-Native :: WebView :: Some Blank Pages With No Apparent Pattern

[ ] EDIT: On the third reboot of my Mac, spontaneous self-fix of problem not fixed by prior two reboots. So if anyone encounters this issue, just keep rebooting until it works, apparently. For our ...
0
votes
1answer
30 views

I want to render dynamic content from back-end that has html tags in react native

I have created an app that uses woo-commerce as back-end, the problem is many of the attributes of products that I receive from back-end are in html, when I tried to render it in it treated ...
0
votes
0answers
22 views

Force download video in webview on click button

I'm using webview in android app, I play video and create link to download video but every time I click on download the video starts playing instead of downloading <a href="javascript:void(0)" ...
-1
votes
0answers
23 views

Can a WebView support dynamic referer headers?

From the documentation, I do not see native support for dynamic referer headers for requests made in WebView. Is there any workaround for this to have each request provide the referer header with the ...
2
votes
0answers
22 views

How to tweak some the javascript in webview in react native?

I am using WebView inside my ReactNative Application. I want to tweak some of the Javascript of the given/attached URL (inside the webView) of my reactnative application, How to insert my own JS ...
0
votes
1answer
24 views

Consuming REST API using a webview with authentication header

I am working on REST API with "POST" type, I want to consume it by using WebView. I am using webView.postUrl() but I also need authentication header with my POST request which I am not able to do. My ...
0
votes
0answers
11 views

IOS & android Web View Issue with Angular 1.6

Anything in a page which is HTML (Static HTML) is not displaying in Android & IOS webView but is displaying in a browser. I use angular js 1.6 and my config file as below. 'use strict'; teatApp....
0
votes
0answers
22 views

Unexpected blank white video plays on ios webview

When running an webview app in ios 12.0, the very first touch unexpectedly shows a blank white video. After dismissing the video, the app works as expected and this doesn't happen again until the app ...
0
votes
0answers
9 views

Cordova webview is not cacheing any data on Fire TV

Running an url through a Cordova Inappbrowser based app on Fire TV that basically runs a few 30s videos in an infinite loop. Basically no content is being cached and the app seems to be using up ...
0
votes
1answer
12 views

Load part of web page in android webview

I want to load part of web page inside my webview. I used javascript to hide some div classes but the problem is first it loads the page completely and then hide the div class, I am wondering if there ...
0
votes
0answers
37 views

Save cookie in webView on overriding URL

I'm displaying a website in Android WebView. At one stage, the website moves to payment gateway site for payment and its session id is saved in a cookie. When it returns to site after payment, ...
0
votes
1answer
23 views

Webview with multiple buttons to multiple URLs - Null pointer exception

I am trying to use a fragment to make some buttons that when clicked will open in a Webview with different URLs. Eg. when i click the first button i go to "https://google.com/", second button to "...
2
votes
0answers
34 views

JavaFX WebView Opening Older Versions of Websites

I'm working on a JavaFX browser app and I noticed that lots of the pages that I open in my WebView are much older versions of the page than they should be. For example, Google in a regular browser ...
0
votes
0answers
10 views

How to add a webview in Collapsing Toolbar?

I added Empty activity in Android Studio.I want to convert it into Scrolling activity with web view.So I added below code into it.but its not working properly.how to solve it..Thank you... I want to ...
-1
votes
0answers
18 views

How to display a page that php responds with on successful login in webview?

My app successfully posts username and password to my php website but I need the page to be loaded in the webview after successful login. How can I do that? I had posted the data using httpUrl
0
votes
1answer
30 views

Website opens as android app, but cannot interact

So I tried converting the site I am working on to an android app using android studio App was built successfully, no errors, opens when clicked but just stays static. I cannot interact with it.. It ...
1
vote
0answers
24 views

iandroid webview cache problem with login users

i have a simple webview project app for my website webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK); after adding this code line for improve browser speed, my users cant login ...
0
votes
1answer
22 views

Open Play Store if market:// link tapped using WebChromeClient

I want to open Play Store if user taps link of this type: market://I tried using getUrl() but it fetches URL only for the first time, not when user taps further links inside webView. Here is my code: ...
2
votes
0answers
28 views

Electron: Manage the sound volume level of inner webviews

I am developing an application wherein a couple of webview elements hosting various HTML documents (some having node integration) which are reproducing different audio (mp3 and wav) files. I have been ...
0
votes
1answer
16 views

javascript how to call in webview custom uri action and catch in the mobile app?

I don't know anything about mobile applications. My web page will be opened in mobile web view. I need to make redirect in the script to url projectName://login/success or projectName://login/error. I ...
0
votes
0answers
19 views

How to do Deep Linking in an Android App where a flag needs to be set on the page?

I have an Android App. Within it is an Actvity which just contains a WebView. <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://...
0
votes
0answers
24 views

How to run “youtube.com” in background in webview (android), when the activity/app is in backgound?

How to run "youtube.com" in background in webview (android), when the activity/app is in backgound? whenever the app is sent to background, playback stops. how to prevent the pause?