[FREE] FSA: Combined features of Firebase Storage and Authentication 🔥

Hi @vknow360

I am trying to use Login with Google method. I have setup the firebase authentication and enabled login with Google, Connected my app with app package name in project settings, however login with Google is not working for me.

I have also uploaded Google-services.json file in app assets and I am testing in Apk.

When I call Login with Google, pop-up comes to choose Google account, after choosing nothing happens only the pop-up closes, no error message.

Below are my blocks.

What is wrong here, I am not getting. I tested in your both aix v3 and v3.1

Solved

I added SHA1 key in Firebase and it worked. Thanks.

Have you added Sha1 fingerprint?

If yes then check logs.

1 Like

Yes, I just fixed this by adding SHA1 key. Thanks.

You can throw an error message or login failed event in such cases. BTW, great extension.

Also there is no option in AI2 to get SHA1 key directly. For those who don't know, export your keystore from AI2. Download keystore explorer and open your exported keystore file in it and from there you can get SHA1 key.

2 Likes

There is one small issue in Login with Google method.

After login success user name is returning "null", rest all information is correctly getting except user name.

Can you please look into this?

No issues here.

This is weird. As I can see in your screenshot the provider is "google.com", in mine its getting "firebase", is something wrong with blocks.

I also tried get user info method, but same results.
Tried with different mail ids and on emulator, same results.

Which extension version are you using?

Tried on both v3 and 3.1

Pm me apk.

1 Like

I'm getting an error when downloading a file, I can upload, delete, list the data, but when I try to download it does not work, maybe a permission error? my blocks are below

Where is the error?

It is when I do the download, the more I read I think my output path is bad, I do not have an SD card and I'm having a hard time to understand ASD, this is a screenshot of the app when I click button 2.

Upload minimal test apk to drive and send me download link via PM.

The correct path for shared storage is /Download and not /Downloads

Taifun

Thanks, it is working perfectly, I knew it was probably something stupid from my part.

@vknow360 how can i make a login block using it??

@Nih_nih_Science_cem

This extension is for Firebase Storage and Authentication, which is not what you are after.

A post was merged into an existing topic: Sign in only to mit app inventor with firebase?

its not workinig