Skip to content Skip to sidebar Skip to footer

Firebase 'createcustomtoken' Not Recognized In Android

I'm implementing 'login with custom token'. I found this snippet of code in the Firebase documentation. firebaseAuth.createCustomToken(uid) .addOnSucces

Solution 1:

you try to mix up the Firebase Admin SDK with the Android SDK. The method createCustomToken is only available at the Admin SDK and not for the Android SDK. The docs for Android can be found here

https://firebase.google.com/docs/auth/android/start/

The Admin SDK can only be used at server side

Post a Comment for "Firebase 'createcustomtoken' Not Recognized In Android"