Questions tagged [uniwebview]

10 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…
JOATMON
  • 15,576
  • 31
  • 99
  • 188
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…
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…
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…
0
votes
0 answers

Unity - uniwebview - How to detect event when application goes in background and open again

Integrating razorpay payment gateway in unity and facing issue to close the webview when application comes from background. Steps 1 : Start payment using UPI Steps 2 : type UPI for google pay and it will request on google pay app Step 3 : go to…
vishal_g
  • 3,669
  • 4
  • 18
  • 33
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
  • 184
  • 2
  • 5
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
  • 759
  • 1
  • 6
  • 9
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
  • 17,850
  • 30
  • 131
  • 265
0
votes
0 answers

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…
-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