As you may know, we’ve started the process towards Meteor 1.3 last month with a beta release of the modules support and related features.
Another area of improvement for Meteor 1.3 is the Cordova integration. Because we don’t want to entangle this too much with the modules work we’ve decided to release these changes as a separate beta for now.
The highlights of the improvements are:
Dependencies have been upgraded to Cordova 5.4.1, Cordova iOS 4.0.1 and Cordova Android 5.0.0
On iOS, we now use WKWebView by default, which should greatly improve JavaScript performance
The file serving and hot code push plugin has been completely rewritten for reliability and performance (in this first beta, hot code push has not yet been implemented for Android)
Please comment here if you have questions about how things are supposed to work. Comment on the GitHub issue about bugs that you find, or missing features that you need.
Announcement with more details about the changes and instructions about updating to the beta version:
Great job, thx. I think the mobile part of Meteor is very important !
For me the most import thing / issue / feature is: Is it now possible in a mobile meteor app to access the local files (pics, music, videos) of the mobile phone ?
Cool, I made a quick test with new cordova release.
Just create a starter project with Meteor 1.21 and Meteor 1.3-beta cordova
meteor create test121 / test13
meteor add-platform android
meteor run android-device
App Size including data with 1.21 : 7.66 MB
App Size including data with 1.3 : 1.56 MB
Release 1.3-cordova-beta.2 is now available. This fixes a bug with Content-Security-Policy that disallowed loading of external scripts, and adds local file system access on iOS.
Release 1.3-cordova-beta.3 is now available. This release adds local file access for Android, where we now serve apps from file://app/ instead of localhost.
It also adds experimental support for Android development on Windows, thanks to @sedouard’s pull request. If you’re a Windows user, please give this release a try and let us know what is or isn’t working for you.
Cordova has been upgraded to 6.0.0 and Cordova Android to 5.1.0. I’ve also updated the pinned plugins to the latest versions.
I’ve reverted the change to file://app/ on Android made in the previous beta, because of issues with file:// URLs that do not seem fixable. So we now serve files from http://localhost:<port> on both iOS and Android. I hope to reenable local file access on Android again in a later beta.
Do you still need Windows testers? I would be willing to invest a lot of time in a Cordova app for our startup but we don’t have time to learn the best practices (I’ve seen before it’s not as easy as flipping a switch). Any chance meteor guide material will be out soon?
Release 1.3-cordova-beta.5 is now available. This release includes recent fixes made on the modules branch, reenables local file access on Android, and updates pinned versions of some core plugins.