Start a new topic

AR.context.openInBrowser fails to open browser window

AR.context.openInBrowser fails to open browser window
1 Comment


I am trying to use code similar to the IrAndGeo example, so that when the user clicks on an ImageDrawable attached to a Trackable2DObject, they will be directed to a web site.

I have verified that my onclick handler is being called by substituting a JavaScript alert() call.  This gets properly exectued in MacBook (using simulator), iPhone 5 and iPad mini (using Wikitude Browser on the iOS devices)

However, the IrAndGeo example does not open the browser as expected when I click on the drawable on the iPhone or iPad, while the simulator on Mac does open the browser as desired.

I have tried both "true" and "false" as arguments to AR.context.openInBrowser() to no avail.

 

Help!
Login or Signup to post a comment