Skip to content

Commit

Permalink
Update 1.3 migration instructions for Cordova
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnwalraven committed Mar 25, 2016
1 parent 66c5dc7 commit 1ceb880
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions content/1.3-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ These are all the *breaking changes* -- that is changes that you absolutely have

<h3 id="breaking-changes-mobile">Mobile</h3>

- iOS apps now require iOS 8 or higher, and building for iOS requires Xcode 7.2 to be installed.
- iOS apps now require iOS 8 or higher, and building for iOS requires Xcode 7.2 or higher to be installed.

- Building for Android now requires Android SDK 23 to be installed. You may also need to create a new AVD for the emulator.

- Cordova has been upgraded to the most recent versions (Cordova 6.0.0, Cordova iOS 4.0.1 and Cordova Android 5.1.0). This may require you to upgrade your plugin versions. We pin core Cordova plugins to versions known to be compatible and warn about this during build, but you may encounter compile time or runtime errors 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.

- 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).

- The plugin used to serve your app's files and support hot code push has been completely rewritten. As a result, files are now served from `localhost` instead of `meteor.local`, with a fixed port number derived from your `appId`. You may have to update OAuth redirect URLs to point to the new local domain and port.

<h2 id="modules">Recommended change: use modules</h2>
Expand Down Expand Up @@ -89,7 +87,7 @@ Along side some of the breaking mobile changes [listed above](#breaking-mobile),

- Some low resolution app icon and launch images sizes for now unsupported devices have been deprecated. To avoid a deprecation warning during build, please remove the entries from your `mobile-config.js`. (You probably also want to remove the image files from your project.)

- The plugin now 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 `WebAppLocalServer.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.
- The plugin now 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 `WebAppLocalServer.localFileSystemUrl()` to convert a `file://` URL.

<h2 id="react">Install React from NPM</h2>

Expand Down

0 comments on commit 1ceb880

Please sign in to comment.