Skip to content Skip to sidebar Skip to footer

How To Add Admin Sdk Api To Android Project

I am currently working in an Android application that requires to have Admin and regular users. To illustrate, the admin has the ability to manage the regular users like delete , m

Solution 1:

What you've found is correct. Your case seems to be suitable for using Firebase Admin SDK.

Firebase Admin SDK needs a server app, on which it will be initialized.

Here you can find a full list of the prerequisites for setting-up Firebase Android SDK.

You can set-up Firebase Functions, which will hold your server-side code. Inside those functions you can also initialize the Firebase Admin SDK.

Please refer here for more information on Firebase Functions.

Here you can find a sample Firebase application which uses the Admin SDK. The sample shows how to authenticate access to a JSON API to only allow access to data for a specific Firebase user.

Firebase Functions are built to serve as serverless code, as you develop your server-side logic, then deploy it to a managed environment on Google's cloud. Those functions can contain all the logic that you would like to have using Admin SDK.

Post a Comment for "How To Add Admin Sdk Api To Android Project"