Image is not Loading From Firebase Authentication profile picture Url

To know if you are really getting data you should put the values in a label to see if you receive the data…

But why do you store that data in TinyDB? To use it offline? Because if you do it online, you don’t need to. FirebaseAuth has a block to get the current user who is logged in. When you start any other screen (if you are already logged in) you just have to get the current user:

image

And there you use the profile picture

1 Like

Hey maayur
This same problem happened with me some day ago.

And I got solution on it.

You have to remove list block witch you currently using,

And select simple list select blocks

IMG_20200509_071248

Try this remove block and run app then see no error will come

1 Like

Same blocks are present in one of my app, it is live on play store, and it is working fine with me.

1 Like

Yes, I am getting the values like name and email as it is used in sutitle in main screen but there’s problem with profile image.

Thanks for your solution I will try that and check whether it works.

Actually There’s a problem for live testing I have set the values of lable in properties that’s why they where showing the name and email today i checked then i got.

It means there is a big problem I am not able to get any information from the authentication.

But i have checked everything

  1. Uploaded json File.
  2. Registered SHA-1 in Firebase

Infact i am able to sign in on first page then why am i not getting the Information?

Check in other device,

I am unable to login in your apk, it says login failed.

Yes Its working on Other Devices. I have Tested This App on Some different Devices Prevoiusly. There login was sucess but same problem.

I will delete the project in firebase create another one and try again.

Pm your working apk.

1 Like

Show image properties where you want to show user image.

In my app i set height and width of image to 60px.

You need to store these values separately.
Don’t use list…!
Use 1 titydb and use different tages for different variables.:hugs:

Use our useful tutorial at youtube
At:- techfacts360
Or
https://www.youtube.com/techfacts360

image

I have set in percent.

Have you tried this?

Uncheck scale picture to fit

see this one.

Tried that to.

There is one way to check whether the data is getting or not.

Create 3 labels and in blocks set label text to get name, email and profile pic.

If your are getting data then its working and problem is with other blocks.

I Finally Got It. I used this image to load Image.

But I dont know why it not loading normally.

Anyways Thanks Everyone & Specially @The_K_Studio For help.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.