[iOS/Android] WebViews 2.0 (in-app browser) v2.4.4

captaincomic

  • *
  • Posts: 6108
Thanks, robinschaafsma for the update, and thanks, ETHproductions for the documentation! (I'll send you a PM regarding StencylPedia articles) :)

NOTA

  • Posts: 327
Don't get it...
Worked fine - One Time...
now I get    "org.haxe.nme does not exist"
How can this be?

robinschaafsma

  • *
  • Posts: 714
UPDATE 2.3
- Add icon on blocks
- Download from GitHub.

See the first post, you have to download it from GitHub now.

If you already install a previous version 2.2 or below,  follow the instruction on this page how to update the extension https://github.com/byrobingames/webview2.0/blob/master/README.md#how-to-install

Donni11

  • *
  • Posts: 2181
Any plans for desktop or flash with this extension ? It looks pretty awesome :) !
Peace

robinschaafsma

  • *
  • Posts: 714
Any plans for desktop or flash with this extension ? It looks pretty awesome :) !

No sorry..

robinschaafsma

  • *
  • Posts: 714
IMPORTENT
Because of App Transport Security (ATS) in IOS9, HTTP will not loads in IOS9.

To get it work on IOS9 follow this workaround, you have to set NSAllowsArbitraryLoads flag to treu in the INFO.plist file.

See this post how to do this:
 http://community.stencyl.com/index.php/index.php?topic=44271.msg247444#msg247444

This should be done in new Games and you must update your existing Games to load HTTP in the WebView.

Donni11

  • *
  • Posts: 2181
Hello :) , I'm receiving  a error when trying to use the extension ,

Code I'm using :


Details from log viewer :
Events for 'main': Unknown identifier : WebView
   from scripts.SceneEvents_0
   line: 87
   columns: 2-9

[haxelib.exe] Source/scripts/SceneEvents_0.hx:87: characters 2-9 : Unknown identifier : WebView
Full Logs
Peace

letmethink

  • *
  • Posts: 2545
It doesn't work on flash as has already been explained Donni.
~Letmethink


robinschaafsma

  • *
  • Posts: 714
@Donni

Please read the conversation again.
It says thats a mobile extension and will not work on flash.
But if you want to compile on flash use "do only on mobile" block and not "do only on flash" block

Donni11

  • *
  • Posts: 2181
Oh.... okay , thanks :) .
Peace


yoplalala

  • *
  • Posts: 1632
The original github (https://github.com/openfl/extension-webview) has been updated to support local html files. Maybe you could update it ?

robinschaafsma

  • *
  • Posts: 714
The original github (https://github.com/openfl/extension-webview) has been updated to support local html files. Maybe you could update it ?

Maybe later, busy with other stuff:)

robinschaafsma

  • *
  • Posts: 714
update
2017-03-21(2.4)
- Added Android Gradle Support for openfl4
- Added open webview with HTML Code block

If you already purchases this extension, just login to your account on my store to re-download this extension.

« Last Edit: March 22, 2017, 02:14:03 pm by robinschaafsma »