You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2020/06/25 17:22:00 UTC
[jira] [Closed] (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 ]
jcesarmobile closed CB-10824.
-----------------------------
Resolution: Cannot Reproduce
I can't reproduce and the code for setting the name to Pic is no longer there, so it's probably fixed
> 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: cordova-plugin-camera
> Environment: Android Kitkat
> Reporter: Richard B Knoll
> Priority: Major
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org