目前,我有一个android应用程序,它使用FirebaseAuth进行用户身份验证。我想将身份验证部分移动到AdminSdk服务器,以便android应用程序向服务器发出http请求,服务器执行身份验证。不幸的是,AdminSDK for Java没有signInWithEmailAndPassword方法。有没有办法做到这一点,或者我必须在服务器上也包含androidsdk?
我已经为一个无服务器的web应用程序启动了一个Firebase项目。从客户端,我可以访问Firestore数据库。在无服务器端,我编写了一个在http请求时调用的函数。const functions = require('firebase-functions');
Function crashed
TypeError: db.collection is no
在切换到FirebaseAdmin4.0.0SDK之后,我在服务器上得到了这个。有人知道我可以切换回旧的server-sdk依赖项,或者解决这个异常的方法吗?java.lang.NoClassDefFoundError: com/google/firebase/database/collection/LLRBNode$NodeVisitor
at com.google.firebase.database.snaps
Property 'auth' does not exist on type 'typeof import("/home/nuhutuh25/Desktop/ignition/registry/node_modules/firebase/app/dist/app/index")'.ts(2339) 我确实安装了firebase作为依赖项,还看到有人成功地编写了const <