x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

OnUrlChanged in WebBrowser not executed on mobile

Repro steps:

  1. Add WebBrowser widget with Initial URL

  2. Add OnUrlChanged event and print string for debug purposes

  3. Add widget to the viewport

  4. Run on Android or IOS device

  5. OnUrlChanged wasn't called

Product Version: UE 4.16
Tags:
more ▼

asked Jul 21 '17 at 05:18 PM in Bug Reports

avatar image

gameDNA studio
126 7 15 22

avatar image Rudy Q ♦♦ STAFF Jul 24 '17 at 07:32 PM

Hello gameDNA studio,

When you view the web browser on the mobile device, does it load properly or does it appear solid white?

avatar image gameDNA studio Jul 24 '17 at 07:55 PM

It loads properly but doesn't call OnUrlChanged event/delegate.

avatar image gameDNA studio Aug 01 '17 at 09:02 PM

Anything new?

avatar image Faru Nuri Sönmez Feb 14 '18 at 11:05 AM

this problem is fixed?

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hello gameDNA studio,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: https://issues.unrealengine.com/issue/UE-50492

Make it a great day

more ▼

answered Sep 28 '17 at 05:16 PM

avatar image

Rudy Q ♦♦ STAFF
47.7k 545 132 522

avatar image Socke81 Jan 16 '18 at 09:04 PM

Android also lacks the javascript function "window. ue". It is needed to bind UObjects to Javascript. This makes it possible to trigger an event in UE4 via Javascript. Is this the same bug or a new one?Here is the comment from the C++ code. That there is window. ue4 instead of window. ue has nothing to do with it. Android lacks both.

 /** 
      * Expose a UObject instance to the browser runtime.
      * Properties and Functions will be accessible from JavaScript side.
      * As all communication with the rendering procesis asynchronous, return values (both for properties and function results) are wrapped into JS Future objects.
      *
      * @param Name The name of the object. The object will show up as window.ue4.{Name} on the javascript side. If there is an existing object of the same name, this object will replace it. If bIsPermanent is false and there is an existing permanent binding, the permanent binding will be restored when the temporary one is removed.
      * @param Object The object instance.
      * @param bIsPermanent If true, the object will be visible to all pages loaded through this browser widget, otherwise, it will be deleted when navigating away from the current page. Non-permanent bindings should be registered from inside an OnLoadStarted event handler in order to be available before JS code starts loading.
      */
     virtual void BindUObject(const FString& Name, UObject* Object, bool bIsPermanent = true) = 0;
avatar image Socke81 Jul 20 '18 at 12:18 AM

The bug has now been marked as "Fixed". It seems, however, that the additional bug I have mentioned here has not been included. Android source code has not been changed. Do I have to report my bug again?

(comments are locked)
10|2000 characters needed characters left

this problem is fixed?

more ▼

answered Feb 14 '18 at 11:05 AM

avatar image

Faru Nuri Sönmez
1 2 6

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question