firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Add support for Firebase Admin SDK

Open gino-m opened this issue 1 year ago • 3 comments
trafficstars

The Firebase Admin SDK is required server-side by Cloud Functions wanting to interact with Firestore and other services.

Are there any plans to implement this?

gino-m avatar Jan 16 '24 21:01 gino-m

As the api for the admin sdk differs somewhat from the client libraries it feels a little out of scope for this project which focuses on a common api for client-side KMP projects.

That said another jvm target for the java admin sdk could be included with a partial implementation of API present in this project allowing shared code to compile for server-side environments but direct use of the Java Admin SDK would still be required for where the SDKs differ. e.g. initialization.

I will leave this issue open for people to add details on exactly what they looking for in terms of support for the Firebase Admin SDK.

nbransby avatar Jan 17 '24 11:01 nbransby

Thanks for sharing your thoughts on this. Cloud Functions which read and/or write to Firestore will invariably duplicate logic in their corresponding web, Android, and iOS apps; in those cases at least partial support to query and update would be helpful. Thanks!

gino-m avatar Jan 17 '24 14:01 gino-m