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

@ason_J

Thank you

It does not work.
I don't know why.
:thinking:
Attached is my block:

@ason_J you missed it.

Sorry, I didn't look carefully

ChangeLog Version 2 :warning:

New Blocks

Changes

  • Changed extension name to FSA

  • image
    Init method no longer accepts parameters
    Upload google-services.json file to assets and configs will be picked up from there.

Download aix from here:

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

3 Likes

Will this file in resources be safe in the compiled apk? Or will keys written in code be more secure?

1 Like

It will be safe as much as assets are.

Assets are not safe at all. If you have an apk file, just open it with a program like winzip and you have access to unencrypted files. So any person who doesn't even know much about programming can have access to the data. Saving data in program code is safer. We can obscure such data a bit and someone without good programming knowledge will not be able to read anything.

2 Likes

Nevertheless, Google enforces this rule, and requires every Firebase Authentication developer to add the google-services.json file in their projects.

https://firebase.google.com/docs/android/setup#add-config-file

1 Like

It is different actually.
While compiling apk, gradle converts the props in key-value pairs (and stores somewhere, maybe in R classes?) and remove json file from assets.

I do the first part but having no control over building, I can't remove the file.

I'll rollback to Init function now.

1 Like

after build, if we remove the google-services.json

I use Apk Editor Studio to edit manifest or remove assets , etc... Before publish to playstore

Will it work?

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.