{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6050","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6050/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6050/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6050/events","html_url":"https://github.com/meteor/meteor/issues/6050","id":127827327,"number":6050,"title":"Meteor 1.3 *early beta* (Cordova)","user":{"login":"martijnwalraven","id":54485,"avatar_url":"https://avatars.githubusercontent.com/u/54485?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnwalraven","html_url":"https://github.com/martijnwalraven","followers_url":"https://api.github.com/users/martijnwalraven/followers","following_url":"https://api.github.com/users/martijnwalraven/following{/other_user}","gists_url":"https://api.github.com/users/martijnwalraven/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnwalraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnwalraven/subscriptions","organizations_url":"https://api.github.com/users/martijnwalraven/orgs","repos_url":"https://api.github.com/users/martijnwalraven/repos","events_url":"https://api.github.com/users/martijnwalraven/events{/privacy}","received_events_url":"https://api.github.com/users/martijnwalraven/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mobile","name":"Project:Mobile","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"martijnwalraven","id":54485,"avatar_url":"https://avatars.githubusercontent.com/u/54485?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnwalraven","html_url":"https://github.com/martijnwalraven","followers_url":"https://api.github.com/users/martijnwalraven/followers","following_url":"https://api.github.com/users/martijnwalraven/following{/other_user}","gists_url":"https://api.github.com/users/martijnwalraven/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnwalraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnwalraven/subscriptions","organizations_url":"https://api.github.com/users/martijnwalraven/orgs","repos_url":"https://api.github.com/users/martijnwalraven/repos","events_url":"https://api.github.com/users/martijnwalraven/events{/privacy}","received_events_url":"https://api.github.com/users/martijnwalraven/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/meteor/meteor/milestones/8","html_url":"https://github.com/meteor/meteor/milestones/Release%201.3","labels_url":"https://api.github.com/repos/meteor/meteor/milestones/8/labels","id":1456857,"number":8,"title":"Release 1.3","description":"","creator":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":86,"state":"open","created_at":"2015-12-11T23:35:25Z","updated_at":"2016-02-12T10:08:55Z","due_on":null,"closed_at":null},"comments":91,"created_at":"2016-01-21T01:52:34Z","updated_at":"2016-02-12T21:33:39Z","closed_at":null,"body":"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.\r\n\r\nAnother 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.\r\n\r\nSome of the changes to our Cordova integration in this beta are:\r\n* Dependencies have been upgraded to Cordova 6.0.0, Cordova iOS 4.0.1 and Cordova Android 5.1.0.\r\n* On iOS, we now use `WKWebView` by default, which should greatly improve JavaScript performance\r\n* The file serving and hot code push plugin has been completely rewritten for reliability and performance:\r\n    -Files are served from `localhost` instead of `meteor.local`. Among other things, this means the server is considered a trusted origin and web views will not block secure operations.\r\n    - On iOS, switching to a real embedded web server allows for better caching, streaming, and source map support.\r\n    - The plugin also allows for local file access on both iOS and Android. You can construct file system URLs manually (`http://localhost:<port>/local-filesystem/<path>`) or use `WebAppCordova.localFileSystemUrl()` to convert a `file://` URL. On iOS, core plugins like `cordova-plugin-file` and `cordova-plugin-camera` (using `Camera.DestinationType.FILE_URI`) will now automatically return these URLs instead of `file://` URLs\r\n    - Downloading updates now uses native file transfer mechanisms (`NSURLSession` on iOS), which makes it much more reliable.\r\n    - It only downloads changed files and does not copy files unnecessarily.\r\n    - It makes sure to always end up with a valid version of all assets, even if downloads take a while or are resumed later.\r\n    - It contains a safety mechanism that reverts to the last known good version when a faulty version has been downloaded (meaning it contains JavaScript errors that keep it from starting up).\r\n- It enables support for building Android apps on Windows\r\n\r\nYou can find out more about the design of the new plugin in the README at https://github.com/meteor/cordova-plugin-meteor-webapp.\r\n\r\n**Try the release by running `meteor update --release 1.3-cordova-beta.5` in your app directory.**\r\n\r\n*Note that this beta also includes the changes in the 1.3 modules beta, so you may want to refer to https://github.com/meteor/meteor/issues/5788 for more information about those.*\r\n\r\nPlease let us know what works well or what doesn't!\r\n\r\nA few notes:\r\n* iOS apps now require iOS 8 or higher, and building for iOS requires Xcode 7.2 to be installed\r\n* Building for Android now requires Android SDK 23 to be installed\r\n* Upgrading to a newer version of Cordova may require you to upgrade your plugin versions. We ensure core plugins use the minimum required version, but **you may encounter compiler errors or undesirable behavior with third party plugins**. Upgrading to newer versions of these plugins may help if they have been updated to work with recent versions of Cordova.\r\n* When opening the generated project with `meteor run ios-device`, Xcode will show a dialog asking whether to `Convert to Latest Swift Syntax`. **Make sure to click cancel here**, because this conversion will leave the code in an invalid state (this seems to be an Xcode bug).\r\n* Some of the icon and launch screen image sizes have been deprecated, so you may receive warnings about this."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/183495887","html_url":"https://github.com/meteor/meteor/issues/6050#issuecomment-183495887","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6050","id":183495887,"user":{"login":"guidouil","id":594367,"avatar_url":"https://avatars.githubusercontent.com/u/594367?v=3","gravatar_id":"","url":"https://api.github.com/users/guidouil","html_url":"https://github.com/guidouil","followers_url":"https://api.github.com/users/guidouil/followers","following_url":"https://api.github.com/users/guidouil/following{/other_user}","gists_url":"https://api.github.com/users/guidouil/gists{/gist_id}","starred_url":"https://api.github.com/users/guidouil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidouil/subscriptions","organizations_url":"https://api.github.com/users/guidouil/orgs","repos_url":"https://api.github.com/users/guidouil/repos","events_url":"https://api.github.com/users/guidouil/events{/privacy}","received_events_url":"https://api.github.com/users/guidouil/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T21:33:39Z","updated_at":"2016-02-12T21:33:39Z","body":"On my side the image upload to cfs does not work anymore (the data:b64 is fix though) the server does not receive the uploaded file but the image object is created in database. Maybe it's related to `WARNING: Attempting to install plugin cordova-plugin-camera@2.0.0, but it should have a minimum version of 2.1.0 to ensure compatibility with the current platform versions. Installing the minimum version for convenience, but you should adjust your dependencies.`\r\nAnd I also get a message regarding the geolocation but I did not test it yet.\r\n`WARNING: Attempting to install plugin cordova-plugin-geolocation@2.0.0, but it should have a minimum version of 2.1.0 to ensure compatibility with the current platform versions. Installing the minimum version for convenience, but you should adjust your dependencies.`\r\nThanks for the brain time Sir :smiley: "}}