Closed asongkai closed 3 years ago
FirebaseCacheManager is made so you can download files using a gs://
url instead of an https://
url. I don't use the firebase storage myself, but doesn't the https url change all the time? If you use the https url you can just use the standard cache manager instead of the firebasecachemanager.
Thank you
💬 Questions and Help
Hello!
I tried to use the plugin to cache my audio that saved in firebase storage with the url of
https://firebasestorage.googleapis.com/v0/b/ocwa-app.appspot.com/o/142-1624205564448.aac?alt=media&token=b06a7cf9-5050-43ad-b5e9-60c4eda85b54
When I pass the url to the method
file = await FirebaseCacheManager().getSingleFile(widget.url);
and it throws an error in console