Is there some way to use NKit functions in externally loaded pages?
We've pretty complicated webapp that needs to be wrapped, and I really want to avoid rewriting templating, localization, navigation logic etc.. so as workaround I tried to redirect wrapped browser to my apps landing page from apps main.html.
main.html (in wrapped app):
<html>
...
<script type="text/javascript">
window.location.href = '<my web app url>'
</script>'
...
</html>
And then in my web apps main page I included NKit.js as standard Javascript file and hosted that on the server.
This seems to work otherwise, but all calls to NKit functions just hang. I guess its because those calls map to CallNKitAction that does XLRH POST request to localhost:30001 and something breaks (same origin policy error?) as page is loaded from external source. However, from nimblekit docs it says that same origin policy is not in effect on wrapped apps.
Any ideas?
