[ 
https://issues.apache.org/jira/browse/CB-8804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113203#comment-15113203
 ] 

ASF GitHub Bot commented on CB-8804:
------------------------------------

Github user riknoll commented on the pull request:

    
https://github.com/apache/cordova-plugin-camera/pull/97#issuecomment-174067562
  
    As @nikhilkh mentioned, the new fix requires both 
`[email protected]` and `[email protected]`. Updating to both of 
those won't automatically fix your application, you'll need to make some 
changes to handle the Android lifecycle as well. I've included a sample app 
that uses the new API as part of the Android Lifecycle Guide in the docs. It's 
published 
[here](http://cordova.apache.org/docs/en/dev/guide/platforms/android/lifecycle.html),
 but you should really check out [this 
PR](https://github.com/apache/cordova-docs/pull/461) as there are some pretty 
significant changes and a much more detailed sample app that haven't made it to 
the website yet. That doc should be useful for people not using the camera 
plugin as well because most of it applies to all apps targeting the Android 
platform. Plugin authors looking to use the new API should read the updated 
Android plugin guide 
[here](http://cordova.apache.org/docs/en/dev/guide/platforms/android/plugin.html).
 Hope this helps!


> https://github.com/apache/cordova-plugin-camera#android-quirks
> --------------------------------------------------------------
>
>                 Key: CB-8804
>                 URL: https://issues.apache.org/jira/browse/CB-8804
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Camera
>         Environment: Android
>            Reporter: Serge Huijben
>              Labels: Android
>
> Android Quirks
> Android uses intents to launch the camera activity on the device to capture 
> images, and on phones with low memory, the Cordova activity may be killed. In 
> this scenario, the image may not appear when the Cordova activity is restored.
> It can be solved bij implementing this PR: 
> https://github.com/apache/cordova-plugin-camera/pull/97



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to