You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jarek Skuder (JIRA)" <ji...@apache.org> on 2018/05/10 11:46:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16470256#comment-16470256 ]
Jarek Skuder commented on CB-10824:
-----------------------------------
Same for me
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org