Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BY_METADATA_DATE #17

Closed
lextotan opened this issue Sep 4, 2020 · 7 comments
Closed

BY_METADATA_DATE #17

lextotan opened this issue Sep 4, 2020 · 7 comments

Comments

@lextotan
Copy link

lextotan commented Sep 4, 2020

when i was upload my profile image its showing true but exit app and reopen app still showing old photo and after i m trying exit app re open coming true photo.its not working properly. and no showing error.

FirebaseImage("gs://****/${}/profileUrl",cacheRefreshStrategy: CacheRefreshStrategy.BY_METADATA_DATE,shouldCache: true)

Specifications

  • Version: *
  • Device: lg g4
  • Platform: Android
  • Flutter Version: * 1.20.2,
@mattreid1
Copy link
Owner

Try removing all the parameters besides "gs://****/${}/profileUrl" as the ones you have specified are default anyway...

Is there anything logged whatsoever?

@lextotan
Copy link
Author

solved

@rdonoso
Copy link

rdonoso commented Sep 16, 2020

hi, how do you solved it? i am having the same issue

@lextotan
Copy link
Author

actually not , i ll write my cache images class.

@lextotan
Copy link
Author

i think problem is ,
when u do first upload fetching from firebase and showing no problem after second try showing from cache . it has to be same time run cacheimage=FirebaseImageObject. So cacheimage variable not equal first time new image.
Image cacheimage;
method(){
FirebaseImageObject();
cacheimage=FirebaseImage;
}
Showing image

@lextotan lextotan reopened this Sep 17, 2020
@rdonoso
Copy link

rdonoso commented Sep 17, 2020

mmm it should be a way to add a method to flush the cache of that url inside the library of FirebaseImage, what do you think?

@lextotan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants