Firebase - Add many apps to one project

我只是一个虾纸丫 提交于 2021-01-29 14:23:30

问题


This is the first time i'm working with firebase. My goal is to have a bounch of client apps (more and more over time), all of them managed by an admin app (One app to rule them all).

The thing is that the client apps have a certain content that needs to be updated from the admin app. My best approach is to create a firebase project, put the admin app there and adding client apps over time. I'have read that is possible to have an unlimited number of apps inside one Firebase project. On addition, someone told me to create one project for each client app and connect them to the same database somehow. I simply don't know what to do.

Which would be the best solution for my problem? thank you


回答1:


firebaser here

A Firebase project can currently contain up to 30 app definitions. This is meant to support variations of the same logical application. For example, having an Admin app in addition to the app for regular users, and/or having an iOS, Android, and Web version of the same app, and for example having a free and a pro version of the app (if that is allowed by the stores where you deliver them).

Adding multiple apps to a project is expressly not meant to be used for white labeling apps, where you ship essentially the same app with different branding to different user segments, as you'd be sharing the backend services between them. For some backend services (such as database and storage) this is not necessarily a problem, as you can isolate the customers with security rules. But for other services (such as authentication and analytics) this is not possible, which is why this use-case is not supported.

If you need to define a separate app in the project for each customer, the only supported approach is to create a separate project for each customer.

I'have read that is possible to have an unlimited number of apps inside one Firebase project.

In that case please provide a link, so we can either fix it, or (if it's not in the Firebase documentation) leave a comment to clarify.



来源:https://stackoverflow.com/questions/62844354/firebase-add-many-apps-to-one-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!