Open
Description
Hello.
I'm using FirebaseUI-Storage to load user avatar, it's working great but there is a problem when user change avatar (upload new image to Firebase Storage) and it does not change with next Glide request (it load deprecated image from cache).
I don't want to disable Glide Cache Policy. I think it should work like this:
StorageReference avatarRef = ...
Glide.with(this)
.using(new FirebaseImageLoader())
.load(avatarRef)
.signature(new StringSignature(avatarRef.lastModified()))
.into(ivUserAvatar);
But there is no way to get any unique information about this image to set signature.
Do you have any ideas ?