Better StageWebView
The current implementation of StageWebView lacks a lot of things (JS communication, video playback etc.) and has an inacceptable initialization time. I would love to see a distriqt implementation like UiWebView from Darkredz Studio. Just with distriqt quality...
We have released this ANE and it’s now available:
http://airnativeextensions.com/extension/com.distriqt.NativeWebView
Let us know any feedback you may have. Thanks for your support!
Regards,
distriqt
-
Hi Jens,
The extension is available now. Let me know if you still can't access it!
Regards,
Michael -
Jens Koblitz commented
Oh, better read the reference next time :)
When will it be available for download? Because when I use the download button on the website, it takes me to a 404 from Github
-
Glad to hear it will work for you.
The viewport can be changed with the width/height/x/y parameters on a WebView instance.
Cheers
-
Jens Koblitz commented
After a quick look at the Reference: Awesome :) ! Exactly what we need and the news that the Android bug is resolved is extra good news since this is a huge problem for us right now.
A small request: How difficult would it be, to change the viewport as a property at runtime? That would be also important for us since we change the viewport at certain situations in our apps.
Kind regards
-
Thanks for those,
Most of these features will be in the first release, that bug has been confirmed to be resolved in our release, along with bi-directional communications and many of the platform specific adjustments.
Some of them seem to be impossible at the moment (mainly the JS console), but we'll be releasing the first version of this ANE next week.
Regards
-
Jens Koblitz commented
And an IMPORTANT one:
Adobe has not been able to fix this bug in their StageWebView: https://bugbase.adobe.com/index.cfm?event=bug&id=3532211
It would be great if the BETTER one would address this :)
-
Jens Koblitz commented
With pleasure :)
General:
- Bi-directional communication
- Possibility to do plattform-specific adjustments (like on iOS "mediaPlaybackRequiresUserAction" etc. best would be to have it in a flexible way, so that it can adopt to any new 'features' Apple or Google come up with)
- Transition between two different webview (would be nice to have, since most customers love eye candy)
- JavaScript console should be readable
- Depth-Control (Adjust the z-Index of multiple Views)
- Offscreen rendering (nice to have)iOS:
- Possibility to open local HTML-files with GET-Parameters -
Hi Jens,
We are currently assessing requirements for this ANE, let us know what certain things you require.
Cheers
-
Jens Koblitz commented
Any progress on this :) ? Because I DREAM of a better StageWebView (where certain things, which are OS related could be set)
-
Kotaro commented
Currently, localStrorage is not working on Android's StageWebView. (It's working on iOS). To enable localStorage, It is necessary to set the value of setDomStorageEnabled as true by native code.
For example, webSettings.setDomStorageEnabled(true);
I'm glad if there is the option to enable localStroage on Android. -
Harald Halbig commented
Are you still reviewing this idea? The Darkredz ANE seems to be abandoned. There haven't been any updates since May 2013. And there are so many problems with the Adobe AIR native version...
iOS / Android:
- No touch/gesture recognition
- No easy way to communicate with JS
- No easy way to handle custom url schemesiOS:
- no way to print a page over Air PrintAndroid:
- Videos (Youtube etc.) don't display if hardwareAcceleration isn't turned on. Turning it on introduces other problems using direct render mode on some devices: StageText crashes on focus out and going fullscreen in HTML5 videos messes up the whole rendering pipeline.just to name a few important ones...
-
Thanks for the suggestion - we'll place this under review for the time being!