cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From riknoll <>
Subject [GitHub] cordova-docs pull request: added android 5.1.0 release blog post
Date Fri, 22 Jan 2016 01:28:37 GMT
Github user riknoll commented on the pull request:
    Here's my blurb:
    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](
    Two core plugins support this new API and have been updated to fix longstanding bugs:
    * cordova-plugin-camera@2.1.0 (fixes [CB-9189](
    * cordova-plugin-contacts@2.0.1 (fixes [CB-10159](
    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](
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.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message