Github user riknoll commented on the pull request:

    https://github.com/apache/cordova-docs/pull/462#issuecomment-173770573
  
    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](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-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](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.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to