Questions tagged [uniwebview]
15 questions
6
votes
1 answer
UniWebView message throttling/collision?
I have the following listener setup in my Unity scene:
ui.OnMessageReceived += (view, message) => {
var path = message.Path;
var action = message.Args ["action"];
if (path == "app") {
if (action == "log") {
Debug.Log…
user736893
1
vote
1 answer
Top Navigation Bar in a game Not Working Properly only in Android
In our Game which we developed using Unity, we recently updated the IAP plugin to upgrade the Google Play Billing to v4. Now we have an android specific problem in our builds. In our android builds, the navigation bar becomes unusable when we start…

DopplerPinkman
- 19
- 2
1
vote
1 answer
Unity, Android: a lot of crashes in an app with WebView
We are developing an app with Unity with an extensive use of WebView. To be more specific we use the UniWebView asset from @onevcat. We suffer a lot of crashes on Android (~5% of all users). Below are the distribution of Android versions and some…

Cubius
- 1,294
- 2
- 15
- 33
1
vote
0 answers
UniWebView playing audio from local storage
Using UniWebView we try to display a locally stored html page to play audio that is stored in a sub-folder at the same location as the page. While this works fine for iOS 10, 11; we seem to have a problem on iOS 9 where the audio doesn't play. After…

Dalius Grazinskis
- 11
- 2
1
vote
0 answers
In Unity 4.7.2, the .js file in the StreamingAssets folder is incorrectly recognized as a game script,but not appear in Unity 5.3.5f1
I would like to use UniWebView load local html5 page, so I put the html5 file into the StreamingAssets folder, but html5. Js file is recognized as Unity4.7.2 game script, resulting in the game can not be compiled. But the same operation does not…

Shiloh Zhang
- 11
- 1
1
vote
1 answer
Web page can be accessed only once using UniWebView
This is my code i am trying to open a web page in UIView using UniWebView. The web page opens but just once. cannot open it again. I am using a button to open the page. the button has this scrip and UniWebView attached to it.
using…

generic2709
- 31
- 10
0
votes
0 answers
Unity, Applovin MAX & UniWebView: low FPS in webview
Our setup:
Unity 2020.3.47
UniWebView 5.3.0
Applovin MAX (Unity 5.10.1 / Android 11.10.1)
Android build
We have a browser game running on Phaser in UniWebView. We try to integrate Applovin MAX but run into an issue. The problem is that FPS drops…

Cubius
- 1,294
- 2
- 15
- 33
0
votes
1 answer
How can I Upload jpeg to my UniWebView scene?
I`m making a simple app with UniWebView plugin.
In my application, a person gets to a shared site,
in case of technical problems a person can contact the site support service.
My problem is that I don't understand how to make it possible to send…

mish mish
- 1
- 3
0
votes
1 answer
UniWebView: problems with scroll on iOS when using viewport tag
Using UniWebView 4.12.1 on iOS and Android.
We want to fix the width of our website for all devices, so that it has identical appearance regardless of the device size. There is a nice tool in HTML for that:

Cubius
- 1,294
- 2
- 15
- 33
0
votes
0 answers
Unity UniWebView how to show images from my Resources (Assets)
i have a few quick questions:
background:
i want to display a in-code generated html with UniWebView in my game. Mostly works nicely until i try to display local images (from my unity-resources)
the images are in my "Resources" folder (and used…

Daniel
- 13
- 4
0
votes
2 answers
How to fix loading images in .html by WKWebView on iOS device (UniWebView 3, Unity)?
I use UniWebView 3 plugin for Unity for display local .html files. This plugin use WKWebView which does not load local images in .html on iOS device. But .css and .js files succesfully loads (which are in header). In Unity editor images are show…

Bodix
- 404
- 5
- 7
0
votes
1 answer
UniWebView plugin for Unity arbitrarily failing on Android
For my mobile Unity app, I need a web view element and use the UniWebView plugin. As shown in the code below, I wrote a script to dynamically load a html string. In my app the containing scene will be loaded many times, based on user interaction.
In…

holgerm
- 839
- 1
- 7
- 11
0
votes
0 answers
UniWebView does not work on Android
I'm finding with uniwebview on Android it often does not load the page correctly.
What I'm doing is isntantiating a prefab with the uniwebview script attached to it, assigning it various values then calling 'Load' on it.
For whatever reason very…

meds
- 21,699
- 37
- 163
- 314
0
votes
1 answer
Opening a local html file in UniWebView?
I have a class which check for internet availability, if there is not internet then it is suppose to load the file in UiWebView(I am using UniWebView).
if(!isInternetAvailable())
{
_webView.insets = new…

generic2709
- 31
- 10
-1
votes
1 answer
UniWebView prefab not showing up
I'm trying to set up an Android application using unity.
Little problem : UniWebView is not working.
My phone is Android 7.0.
I've tried running the demo on my phone : It's not working neither.
There is no code to show.
There are no error messages.…

Baka
- 23
- 5