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

Then it will not...

1 Like

ChangeLog Version 3

Changes

  • Init block changed
    image

oauthKey is the one with client_type = 3

  • Aix size reduced to ~2.1 mb

https://sunnythedeveloper.in/free-fsa-combined-features-of-firebase-storage-and-authentication-🔥

3 Likes

ChangeLog Version 3.1

  • Fixed bug in SignOut method
  • Added PhoneNumber SignIn

image

image

After otp verification, GotCurrentUser event will be raised and phone number will be updated for current user as well.

Aix size increased by 200kb.

Download Aix
https://sunnythedeveloper.in/free-fsa-combined-features-of-firebase-storage-and-authentication-🔥/

2 Likes

I was Previously Using Firbase Component for login with Phone Number after kodular update it stoped working and i adde this Aix today but the app do not open
It crash imediately and Closes

@vknow360 Using the FSA and Onesignal (used both v3 and deps) extensions works fine,
but if we use both extensions in same project, it give "DX8 Error" and App is not compiling

Same dependencies.
I can optimize neither of them.
I am working on making FCM extension compatible with FSA, if you are interested then pm me.

But FCM will delay delivery of notifications on latest android devices as i bought one extension from sumit a year ago,
is that true? or will it work as normal like OneSignal?
I used Deephost, Sumit and Sunny, all works fine but not combined with FSA

This isnt exactly true. If you send the notifications through the firebase dashboard, then it's only delayed for a couple of seconds, otherwise, it's instant when you use the Firebase Rest API.

Is it same as Legacy API as Google already blocked Legacy API's?

Not yet.
It'll be discontinued in June.

1 Like

hi, could you add the "update phone number" method please.

Hi!

I need to store audio files in a cloud from the app and get them from another app.
As built-in databases can store only text information, I found an extention FSA and am trying to get it work now. But the thing is I don't know anything about it at all, it's like I am trying to walk in a forest at night blindfolded :see_no_evil:

The 1st step according to the extension creator is:
" You can easily find these credentials in google-services.json file which you get after adding your app to Firebase project and adding Auth + Storage features."

823b7fc032d78c4a0fa4b494f0cc2436f57b15c9

I am trying to register app at Firebase. I got a json file, found "storage_bucket" and "storage_bucket" information there. But there is no "projectId", "apikey" and "oauthkey" there.
Now there is a 3rd step of registering the app, and it looks hell, I don't know what they want from me

Help me, please.

You don't have to do anything here. Just click on next.
After that dashboard will open, there you have to select gear (:gear:) icon then Project Settings. You'll find API key and Project id there.

It is required only if you want to use Authentication features, otherwise you can simply pass an empty text.

1 Like

Oh, hi!
Thank you for your extension! :hugs:

Ok, I finished the registration.
But it didn't give me API key

UPD.
I found the solution.
API key gets generated once you go into the "Authentication" section for the first time and enter it.

I downloaded aia example from your site and changed Init credentials for mine.
When I click "Init" it says to me "Firebase Storage component is not present."
I didn't change anything else. Did I do anything wrong?

fsa1
fsa2
fsa3


fsa5

It is quite obvious that extension does not work in Companion.
Always remember that extensions dealing with Firebase, OneSignal, ML Kit etc, usually do not work in Companion. They require services and/or activities to work which are available only in Apk.

1 Like

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.