cordova-plugin-photo-library icon indicating copy to clipboard operation
cordova-plugin-photo-library copied to clipboard

photo-library also returns Photos deleted with File plugin

Open bhavincb opened this issue 7 years ago • 2 comments

Current behavior:

when we delete image using ionic-native/file plugin and fetch device images using PhotoLibrary plugin, it also includes entry of deleted image using File plugin.

Expected behavior:

after deleting image Using File plugin, it should not be included in Photolibrary results

Steps to reproduce:

fetch images using photoLibrary.getLibrary() delete any image using file.removeFile() again fetch images using photoLibrary.getLibrary() both results in step 1 and 3 will be same.

bhavincb avatar Nov 06 '17 09:11 bhavincb

@bhavincb have you managed to create a workaround for this?

rcrodrigues avatar Aug 22 '18 13:08 rcrodrigues

@rcrodrigues you have to manually call for media store refresh after removing the file.

bhavincb avatar Aug 26 '18 13:08 bhavincb