androidflutterfirebaseadmingoogle-admin-sdk

How do I implement Admin SDK in my flutter so that I should Manage the users from Admin Panel?


I'm new to flutter working on my Final Year Project. I want to implement Admin functionalities in my App. So far I had implemented the data flow and the authentication things but I am stuck at implementing the Admin SDK for the removal of users from the auth table so that the admin has the complete priviligies.

Is there any alternate way possible? Or I have to implement the Admin SDK for this. Kindly guide? And if yes how should I do so?


Solution

  • The Firebase Admin SDKs are designed to be used in a trusted environment, such as your development machine, a server that you control, or Cloud Functions/Cloud Run. They are explicitly not to be used in client-side applications, like your Flutter app.

    If you want to create a Flutter app that can be used to manage users, you'll want to:

    Also see: