You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/01/24 09:09:37 UTC

[1/2] docs commit: added android lifecycle blub to android 5.1.0 blog post

Repository: cordova-docs
Updated Branches:
  refs/heads/master bd6bb2dca -> b98a34ce6


added android lifecycle blub to android 5.1.0 blog post


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/b98a34ce
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/b98a34ce
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/b98a34ce

Branch: refs/heads/master
Commit: b98a34ce6f9eb055336a91a7b702dcfc30190617
Parents: 38c5ffd
Author: Steve Gill <st...@gmail.com>
Authored: Fri Jan 22 10:58:40 2016 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Sat Jan 23 23:55:33 2016 -0800

----------------------------------------------------------------------
 www/_posts/2016-01-22-cordova-android-5.1.0.md | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b98a34ce/www/_posts/2016-01-22-cordova-android-5.1.0.md
----------------------------------------------------------------------
diff --git a/www/_posts/2016-01-22-cordova-android-5.1.0.md b/www/_posts/2016-01-22-cordova-android-5.1.0.md
index 6df0733..bf4e73b 100644
--- a/www/_posts/2016-01-22-cordova-android-5.1.0.md
+++ b/www/_posts/2016-01-22-cordova-android-5.1.0.md
@@ -10,6 +10,15 @@ tags: news releases
 
 We are happy to announce that `Cordova Android 5.1.0` has been released.
 
+This update introduces a new API for Android plugin authors. Plugins that launch external activities can now better handle method calls on devices that are low on memory. In that scenario, the Android OS will sometimes kill the Cordova Activity when it is pushed into the background by the external Activity. This causes the plugin to lose any callbacks they have pending in the javascript. The new API allows the results of external Activity calls to be delivered via the resume event that is fired in the javascript after the Cordova Activity is destroyed and recreated. Plugin authors wishing to implement the new API should read the updated plugin guide [here](http://cordova.apache.org/docs/en/dev/guide/platforms/android/plugin.html).
+
+Two core plugins support this new API and have been updated to fix longstanding bugs:
+
+* `cordova-plugin-camera@2.1.0` (fixes [CB-9189](https://issues.apache.org/jira/browse/CB-9189))
+* `cordova-plugin-contacts@2.0.1` (fixes [CB-10159](https://issues.apache.org/jira/browse/CB-9189))
+
+Application authors are encouraged to update both their plugin and cordova-android versions to take advantage of these bug fixes. Please note that the aforementioned fixes require changes to your application as well. More information can be found in the READMEs of each of those plugins and in the new [Android lifecycle guide](http://cordova.apache.org/docs/en/dev/guide/platforms/android/lifecycle.html) that has been published to the Cordova documentation. This guide provides explanations and guidance on how to handle low memory scenarios on the Android platform as well as integrate the new resume APIs into your application.
+
 To upgrade:
 
     npm install -g cordova


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/2] docs commit: added android release blog post

Posted by st...@apache.org.
added android release blog post


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/38c5ffd2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/38c5ffd2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/38c5ffd2

Branch: refs/heads/master
Commit: 38c5ffd2324f0c472c16ca1ac24e4abe694c352a
Parents: bd6bb2d
Author: Steve Gill <st...@gmail.com>
Authored: Thu Jan 21 15:19:15 2016 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Sat Jan 23 23:55:33 2016 -0800

----------------------------------------------------------------------
 www/_posts/2016-01-22-cordova-android-5.1.0.md | 36 +++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/38c5ffd2/www/_posts/2016-01-22-cordova-android-5.1.0.md
----------------------------------------------------------------------
diff --git a/www/_posts/2016-01-22-cordova-android-5.1.0.md b/www/_posts/2016-01-22-cordova-android-5.1.0.md
new file mode 100644
index 0000000..6df0733
--- /dev/null
+++ b/www/_posts/2016-01-22-cordova-android-5.1.0.md
@@ -0,0 +1,36 @@
+---
+layout: post
+author:
+    name: Steve Gill
+    url: https://twitter.com/stevesgill
+title:  "Cordova Android 5.1.0"
+categories: announcements
+tags: news releases
+---
+
+We are happy to announce that `Cordova Android 5.1.0` has been released.
+
+To upgrade:
+
+    npm install -g cordova
+    cd my_project
+    cordova platform update android@5.1.0
+
+To add it explicitly:
+
+    cordova platform add android@5.1.0
+
+<!--more-->
+## What's new in Android platform
+
+* [CB-10386](https://issues.apache.org/jira/browse/CB-10386) Add `android.useDeprecatedNdk=true` to support `NDK` in `gradle`
+* [CB-8864](https://issues.apache.org/jira/browse/CB-8864): Fixing this to mitigate [CB-8685](https://issues.apache.org/jira/browse/CB-8685) and [CB-10104](https://issues.apache.org/jira/browse/CB-10104)
+* [CB-10105](https://issues.apache.org/jira/browse/CB-10105): Spot fix for tilde errors on paths.
+* Update theme to `Theme.DeviceDefault.NoActionBar`
+* [CB-10014](https://issues.apache.org/jira/browse/CB-10014): Set gradle `applicationId` to `package name`.
+* [CB-9949](https://issues.apache.org/jira/browse/CB-9949): Fixing menu button event not fired in **Android**
+* [CB-9479](https://issues.apache.org/jira/browse/CB-9479): Fixing the conditionals again, we should 
+* [CB-8917](https://issues.apache.org/jira/browse/CB-8917): New Plugin API for passing results on resume after Activity destruction
+* [CB-9971](https://issues.apache.org/jira/browse/CB-9971) Suppress `gradlew _JAVA_OPTIONS` output during build
+* [CB-9836](https://issues.apache.org/jira/browse/CB-9836) Add `.gitattributes` to prevent `CRLF` line endings in repos
+* added node_modules back into `.gitignore`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org