In trying to use Glide and Picasso i have seen that they require a HTTPS://
string input. i have tested and it works fine. But if I use a GS://
which you get from a Storage Reference
then the image does not load.
Is there a way to convert a GS://
to a HTTPS://
?
if this is not the correct way to be reading from firebase storage then how am I meant to retrieve the image from firebase?
If you have a gs:// URL in Cloud Storage, and you want to display that with Glide, you can use the FirebaseUI Storage library provided by the Firebase team. After you have it properly integrated, you can simply pass the gs URL to Glide, and it will then know how to download the image for display.
As far as I know, there is no equivalent for Picasso.
You can also use getDownloadUrl on a StorageReference to get an HTTPS download URL that will work in any case.