Thank you
Sorry, I didn't look carefully
ChangeLog Version 2
New Blocks
Changes
-
Changed extension name to FSA
-
Init method no longer accepts parameters
Uploadgoogle-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-🔥
Will this file in resources be safe in the compiled apk? Or will keys written in code be more secure?
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.
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
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.
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...
ChangeLog Version 3
Changes
-
Init
block changed
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-🔥
ChangeLog Version 3.1
- Fixed bug in SignOut method
- Added
PhoneNumber SignIn
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-🔥/
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.