I'm making an Android app that displays a user's profile info. I am able to store the images on Cloud Storage, but I am not sure of how to retrieve and display the user-specific images that are stored in Cloud Storage.
One of the main problems I am facing is that user.getPhotoUrl() is not giving me the right uri. It gives me something of the form com.google.android.gms. and so on.
I have tried using Glide to display the images. But, it did not work as I was getting a FileNotFoundException. So, I tried using Glide with StorageReference.
But, the problem with using StorageReference is that I have to explicitly provide the uri of the image, while I want to retrieve the image specific to a user.
I expected the profile picture selected by the user to show up on the profile page, but when I run the app on Android Studio, nothing shows up.