You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2016/03/09 19:28:40 UTC

[jira] [Created] (CB-10824) Webview sometimes displays and old image when choosing from photlibrary

Richard B Knoll created CB-10824:
------------------------------------

             Summary: Webview sometimes displays and old image when choosing from photlibrary
                 Key: CB-10824
                 URL: https://issues.apache.org/jira/browse/CB-10824
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
         Environment: Android Kitkat
            Reporter: Richard B Knoll


When we select an image from the PHOTOLIBRARY source with allowEdit set to true, we always return the same path for the image:
{code}
/storage/emulated/0/Android/data/PACKAGE_NAME/cache/.Pic.jpg
{code}
When you display two images selected in this manner, the second image will appear the same as the first. I believe there are two potential causes:

1. The webview is caching the image from that filepath
2. We are actually returning the same image

Either way, we should probably be time stamping those image files. This should fix the first cause and at least reveal if the second one is real or not.



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

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