cordova-plugin-photo-library
cordova-plugin-photo-library copied to clipboard
photo-library also returns Photos deleted with File plugin
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 have you managed to create a workaround for this?
@rcrodrigues you have to manually call for media store refresh after removing the file.