Stencyl 3.4.0 is now out. Get it now!

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

captaincomic

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

NOTA

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

robinschaafsma

  • *
  • Posts: 638
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
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



Donni11

  • *
  • Posts: 2157
Any plans for desktop or flash with this extension ? It looks pretty awesome :) !
The Stencyl Discord Channel , Where the real Stencyl work happens ;).

robinschaafsma

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

No sorry..
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



robinschaafsma

  • *
  • Posts: 638
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.
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



Donni11

  • *
  • Posts: 2157
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
The Stencyl Discord Channel , Where the real Stencyl work happens ;).

letmethink

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


robinschaafsma

  • *
  • Posts: 638
@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
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



Donni11

  • *
  • Posts: 2157
Oh.... okay , thanks :) .
The Stencyl Discord Channel , Where the real Stencyl work happens ;).

robinschaafsma

  • *
  • Posts: 638
UPDATED THE FIRST POST
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



yoplalala

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

robinschaafsma

  • *
  • Posts: 638
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:)
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



robinschaafsma

  • *
  • Posts: 638
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 »
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl