简体   繁体   English

APP_ID 和 API_KEY 有其他选择吗?

[英]is there any alternative for APP_ID and API_KEY?

We are developing an SDK for developers which in core depends on Firebase to get tokens, therefore we are using FirebaseOptions to initialize our firebaseInstance我们正在为核心依赖 Firebase 获取令牌的开发人员开发 SDK,因此我们使用FirebaseOptions来初始化我们的firebaseInstance

In the new firebase updates they said: we should provide APP_ID and API_KEY .在新的firebase 更新中,他们说:我们应该提供APP_IDAPI_KEY

Is there any alternative for that as SDK developers?作为 SDK 开发人员,是否有任何替代方案?

If not, is there a way to get API_KEY from dashboard instead of download the googel-service.json and extract from it manually?如果没有,有没有办法从仪表板获取API_KEY而不是下载googel-service.json并手动从中提取?

Both API key and App ID can be found in the Firebase console too. API 密钥和 App ID 都可以在 Firebase 控制台中找到。

The API key you need is called Web API Key and can be found in the general gettings screen in the Firebase console.您需要的 API 密钥称为Web API 密钥,可在 Z035484939FF8D38Z4E5A 控制台的常规获取屏幕中找到。

The App ID can be found when you select a specific app from that general setting screen, and is under the label App ID当您从该常规设置屏幕 select 特定应用程序时,可以找到应用程序 ID,并且在 label应用程序 ID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM