Difference between normal firebase and firebase admin sdk
Difference between normal firebase and firebase admin sdk
Just have a small doubt, I am building a small application in python which will use firebase database and storage, I am reading too much about firebase admin sdk, What is the basic difference between normal firebase services and firebase admin sdk or is it one and the same, also if i am starting development now is using firebase admin sdk recommended...?
Also i will integrate the database and storage to my android application.
2 Answers
2
I'll add on to what Doug said in his answer, I suspect you might be confusing the front-end Firebase packages with back-end admin packages.
If you are going to have the client interact with Firebase, you'll need to use front-end packages. Depending on the platform your front-end is being presented on (Web, iOS, Android, etc...) there are different options to suit your platform... web=JavaScript SDK
... ios=ios SDK
... etc...
JavaScript SDK
ios SDK
The Admin SDKs allow you to add back-end functionality. Because there are so many different languages that can be used on the back-end, there are many flavors of the Admin SDK.
This release-notes page does a good job demonstrating the many "Firebase" packages available... both front-end and back-end.
Web browsers only understand JavaScript, so your web-based front-end would have to use the JavaScript SDK. Android apps only understand the Android SDK... and the backend, regardless of what front-end platform you choose... can be Python/Java/Node/.NET/Go, your choice of whichever language's Admin SDK - and yes, the Admin SDKs can be used to create an API.
– JeremyW
Sep 6 '18 at 12:09
If you're writing code with python and you want to access Firebase and Cloud serivces, the recommended option is to use the admin SDK. It's designed to be the easiest way to read and write data in your database, upload and download files to your Cloud Storage buckets, and perform other administrative functions, such as authenticated user management.
I'm not sure what you mean by "normal Firebase services".
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
From what u said the admin sdk can be used for an api and the firebase front end packages for android app. What do you suggest i use for a web application using html as front end and python for its communication with the database?
– Rakesh Vasal
Sep 6 '18 at 7:34