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/15 19:03:33 UTC
[jira] [Updated] (CB-10824) Webview sometimes displays and old
image when choosing from photolibrary
[ https://issues.apache.org/jira/browse/CB-10824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard B Knoll updated CB-10824:
---------------------------------
Summary: Webview sometimes displays and old image when choosing from photolibrary (was: Webview sometimes displays and old image when choosing from photlibrary)
> Webview sometimes displays and old image when choosing from photolibrary
> ------------------------------------------------------------------------
>
> 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
> Labels: android, reproduced, triaged
>
> 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