You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2015/03/27 05:19:41 UTC
[1/2] docs commit: CB-8715 Update upgrade guide for Android 4.0.0
Repository: cordova-docs
Updated Branches:
refs/heads/master 074944bba -> 981cf975c
CB-8715 Update upgrade guide for Android 4.0.0
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/62d85aa6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/62d85aa6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/62d85aa6
Branch: refs/heads/master
Commit: 62d85aa62b13585253eca681bd5aee755a4cad8b
Parents: 5584aae
Author: Jason Chase <ja...@gmail.com>
Authored: Thu Mar 26 22:31:11 2015 -0400
Committer: Jason Chase <ja...@gmail.com>
Committed: Thu Mar 26 22:31:11 2015 -0400
----------------------------------------------------------------------
docs/en/edge/guide/platforms/android/upgrade.md | 53 +++++++++++++++++++-
1 file changed, 52 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/62d85aa6/docs/en/edge/guide/platforms/android/upgrade.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/android/upgrade.md b/docs/en/edge/guide/platforms/android/upgrade.md
index 4e734ea..c4c208b 100644
--- a/docs/en/edge/guide/platforms/android/upgrade.md
+++ b/docs/en/edge/guide/platforms/android/upgrade.md
@@ -24,7 +24,58 @@ Most of these instructions apply to projects created with an older set
of command-line tools that precede the `cordova` CLI utility. See The Command-Line Interface for information how to update the
version of the CLI.
-## Upgrading 3.6.0 Projects to 4.0.0
+## Upgrading to 4.0.0
+
+There are specific upgrade steps required to take advantage of the significant
+changes in 4.0.0. First, the common upgrade steps are needed as below.
+
+For non-CLI projects, run:
+
+ bin/update path/to/project
+
+For CLI projects:
+
+1. Update the `cordova` CLI version. See The Command-Line Interface.
+
+2. Run `cordova platform update android` in your existing projects.
+
+### Upgrading the Whitelist
+All whitelist functionality is now implemented via plugin. Without a plugin,
+your app is no longer protected by a whitelist after upgrading to 4.0.0. Cordova
+has two whitelist plugins, which provide different levels of protection.
+
+1. The `cordova-plugin-whitelist` plugin *(RECOMMENDED)*
+ * This plugin is highly recommended, as it is more secure and configurable
+ than the whitelist in previous versions
+ * See [cordova-plugin-whitelist](https://github.com/apache/cordova-plugin-whitelist)
+ for details on the configuration changes required
+ * Run: `cordova plugin add cordova-plugin-crosswalk-webview`
+
+2. The `cordova-plugin-legacy-whitelist` plugin
+ * This plugin provides the same whitelist behaviour as previous versions. See
+ [cordova-plugin-legacy-whitelist](https://github.com/apache/cordova-plugin-legacy-whitelist)
+ * No configuration changes are required, but it provides less protection than
+ the recommended plugin
+ * Run: `cordova plugin add cordova-plugin-legacy-whitelist`
+
+### Using the Crosswalk WebView
+By default, your app will continue to use the system WebView provided by the
+device. If you wish to use the Crosswalk WebView instead, simply add the
+Crosswalk plugin:
+
+ cordova plugin add cordova-plugin-crosswalk-webview
+
+Upon adding the plugin, your app will get the Crosswalk WebView installed and
+configured correctly.
+
+### Upgrading to the Splashscreen Plugin
+If your app makes use of a splash screen, that functionality has been moved to
+a plugin. The configuration options for splash screens are unchanged. The only
+upgrade step required is to add the plugin:
+
+ cordova plugin add cordova-plugin-splashscreen
+
+## Upgrading to 3.7.1 from 3.6.0
For non-CLI projects, run:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/2] docs commit: Merge branch 'CB-8715-Upgrade' of
https://github.com/jpchase/cordova-docs
Posted by ia...@apache.org.
Merge branch 'CB-8715-Upgrade' of https://github.com/jpchase/cordova-docs
Closes #274
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/981cf975
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/981cf975
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/981cf975
Branch: refs/heads/master
Commit: 981cf975c4bfb3700c0f1ffe95a300b8f38fb8c1
Parents: 074944b 62d85aa
Author: Ian Clelland <ic...@chromium.org>
Authored: Fri Mar 27 00:18:04 2015 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Fri Mar 27 00:18:37 2015 -0400
----------------------------------------------------------------------
docs/en/edge/guide/platforms/android/upgrade.md | 53 +++++++++++++++++++-
1 file changed, 52 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org