Hello everyone, I have developed a XWalkView (embed) extension extending from XWalkExtension for Android. The extension works great but I would like to move it a bit further and inject a more complex code. I would like to be able to expose a complex JS code injection that should be available once the Crosswalk webview executes and before it loads any web URL/content. I see that the JS code that I have to pass to the XWalkExtension constructor is very limited in terms on the APIs that are available. Of course I can expose (export) functions and then call them from JS in my app, but what about if I would like to add some additional global (window) elements to the webview? It seems not even the window object is accessible in the JSCode that is passed to the constructor.
I would like to be able to inject complex JS code similar to what is possible to be done in Cordova plugins accessing the window object, the DOM, etc. I hope I made myself understood but if not, please, do not hesitate to contact me and I will try to provide more information. Thank you very much in advance! Regards, Iker. -- Iker Jamardo CTO @ Ludei http://ludei.com 156 2nd Street San Francisco CA, 94105 +1 415-340-9102
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
