[
https://issues.apache.org/jira/browse/CB-8804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067295#comment-15067295
]
ASF GitHub Bot commented on CB-8804:
------------------------------------
Github user cenobyte321 commented on the pull request:
https://github.com/apache/cordova-plugin-camera/pull/97#issuecomment-166463139
Got it, thanks @Bnaya, I'll look then into using this PR temporarily until
the final fix is released. The only thing I'm trying to figure out is, how can
I save the state of other input fields the user entered in a form that are on
the same page as the "capture photo" input? What comes to my mind is storing
the state in Localstorage when the user selects to capture the photo and
repopulate them in the onSuccess callback of the checkForSavedResult function.
I don't know if there is a less "hacky" way to do it.
> 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]