Has anyone successfully wrapped the latest Meteor-version inside Crosswalk+Cordova? Is it possible to build a Meteor-project, copy the client code to a custom Cordova-wrapper, and then build and run the app on Android or maybe Windows Phone?
What I have tried so far:
-
Build in meteor, customised the android project directory inserting Crosswalk and re-building with ant
No successful builds. Keep getting build errors with several different version combinations of Crosswalk and Cordova. -
Build a tgz with Meteor, copy the html to a custom Cordova + Crosswalk wrapper
I got the app to build, but got the following errors:
-Lots of plugin errors, fixed by making sure I had all the right versions of all the Cordova plugins Meteor uses
-Blank screen when Iron Router does not get this.next() at some point fixed by copying only the client html to Cordova’s www instead of Meteor’s custom cordova.js and cordova_plugins.js
-I still kept getting a blank screen and some errors in dev tools console, so I switched Cordova’s own built cordova.js and cordova_plugins.js to Meteor correspondents and let meteor start up from meteor_cordova_loader.js like its meant to
-Now i’m stuck with the Iron Router’s default screen (/home yadda yadda) and get a ‘serviceConfiguration’ error in the console
Meteor absolutely needs Crosswalk. Right now it makes apps run so much smoother than with Vanilla webview, and you dont have to worry about HTML/CSS compatibility as you have your own Chromium engine loading it.