21 questions
0
votes
0
answers
138
views
Notification API support in android webview
I'm unable load particular url in my webview and getting blank white screen.
When I load same url in chrome and chromium, url is loading properly and web notification is displaying like below ...
2
votes
0
answers
165
views
When onRenderProcessUnresponsive is called?
I'm wondering when the WebViewRenderProcessClient.onRenderProcessUnresponsive() method is triggered in the app using Android Webview and how to test it.
When I let my website hang by JS like while(...
1
vote
0
answers
3k
views
Remove sandbox attributes on the iframe tag
I have an iFrame tag in my Android Webview which is a live streaming embed. It was working fine for at least 2 years until last week. No changes where made prior, the iFrame loads correctly in other ...
0
votes
0
answers
425
views
Open url in parent webview with out creating a new webview in android
I have an webpage which contain login button in it, On click of this login button it's opening new tab in Chrome.
I tried to load this webpage in my Webview, like in below code.
@Override
public ...
0
votes
2
answers
156
views
I'm making a webView for my app, but everytime when I try launch links like (whatsaap, twitter, viber) then whatsaap link work properly
only whtatsaap work but not twitter or viber. Also when I click other links on my app it open in browser not in app.
Also When I remove twitter or viber linking code then then it open in app, but as ...
0
votes
1
answer
262
views
I cant use java script on flutter
My JavaScript code is not working. I want to make a WebView application via flutter. but I want to remove some sections or customize some properties using JavaScript on flutter. I also removed header ...
0
votes
2
answers
313
views
Android webview with parameters not working as expected
I am calling the javascript function from the android app with two parameters. first one is the boolean and the second one is a string value. But it's not behaving as expected. Please let me know if ...
0
votes
1
answer
111
views
Webpage is showing for 2 seconds before Activity
I am loading a web app from my android application. In the initial load of URL, it will redirect to the login page and after login, it will move to the web app home screen. But the expected behaviour ...
1
vote
2
answers
360
views
How to pass variable from java to javascript in Android webview?
I have already seen a similar question in stackoverflow, but I want a better explained answer to this question. I am new to android development and I am trying to figure out how to pass a variable in ...
0
votes
0
answers
271
views
How do i retrieve response from chrome browser to android app
I had opened google chrome from my android app. It's working fine, but now I want to get the response URL from the chrome browser. And go back to the app after retrieving from that response. What to ...
3
votes
1
answer
4k
views
How to pass a string parameter to evaluateJavascript in android
I tried to pass a string parameter to the web app javascript code. It's failed while passing a variable with the string value. But it works when we hardcode the data. Please let me know what's wrong ...
-1
votes
1
answer
1k
views
Android Studio web view error: "Uncaught SyntaxError: Unexpected token )"
I have a web view application in Android Studio. The application works normally on the computer, namely chrome. But I get the following error in web view. What could be the problem? Thanks.
$.post( &...
2
votes
0
answers
2k
views
"The key "target-densitydpi" is not supported." while Loading url in webVIew
am trying to launch a URl in webView But it is throwing an error like
"The key "target-densitydpi" is not supported."
I have tried adding setUseWideViewPort to webview but didnot ...
0
votes
1
answer
283
views
can webview start an activity onReceivedError?
I am trying to start an activity (Errorpage) when webview failed to load content.But there is no error during the build, but the app closes, while inernet is off. It was supposed to launh the ...
1
vote
1
answer
1k
views
Android Studio Webview (Java) - Is there a way to wait until a loading inside a web page is finished before loading url?
I'm trying to get some elements in a web page using webView.loadUrl(...);.
However, I found out that there is a loading that "creates" these elements after the page is already loaded. So, I ...
0
votes
0
answers
297
views
android webview javascript bridge, why passed in string got resolved to the div element
In webview code it calls into the loaded javascript, passing in the string for the html div element id `"module_1", <div id="module_1" class="module"></div>:
my_web_view....
3
votes
1
answer
469
views
window.beforeunload called before WebViewClient.shouldOverrideUrlLoading
In the Android app with the WebView and WebViewClient configured, after the window.open(url, '_system') called from the js, the js event window.beforeunload is fired before the Android WebViewClient....
1
vote
0
answers
3k
views
Android webview not sending geolocation to javascript
I am writing an application that get the user's location and send it to the server. I am using JavaScript and PHP for the server side. I am trying to load this app on android WebView and it not ...
0
votes
1
answer
90
views
Update content in WebView on loading start in runtime
I need add same content on webview after loading start. For example, if I have web page:
<head>
</head>
<body>
</body>
I need get
<same content/>
<head>
<head&...
3
votes
1
answer
17k
views
Render process crashing webview Android Pie (9)
Trying to load the HTML files from assets folder, app working fine up to Android v8.1 and getting crash in Android Pie (9) devices.
Seems like WebView render process getting crash according the debug ...
2
votes
3
answers
4k
views
Android Webview EvaluateJavascript sometimes does not return a response
I have been trying to fix this for weeks and have no clue what is causing the issue. In my project I am utilizing the Android Webview's evaluateJavascript() method like this:
this.runOnUiThread(...