I also ran into this issue on the iOS platform (iOS 10.2). I did not want to use the decision made to switch to DATA_URI because I use the same code between iOS and Android and would like to support only FILE_URI.
I started debugging and found that this was due to a call to the cleanup function after receiving the image. Since the file is deleted from the temporary storage in the cleaning file, the plugin provides the same file name for the next image. It is logical that everything should be fine, but here, when the web view is evil, it selects the old image from its cache, as the URL is the same as the previous one.
I came with a little fix. Tested this, and in my case it worked fine.
I have a forked repo camera plugin and a modified method generating a temporary file name.
I skipped the tutorial for the parent repository and my commit is not in the right format, so I think my transfer request will be rejected. (I will update and recreate it as I receive some time).
But for now, if you do not plan to remove / add the platform (which can clone from the main repo, losing this change), you can try this solution.
source share