简体   繁体   中英

How to setup a Firebase demo project

The Firebase documentation mentions that the local emulator supports Real and Demo projects. A demo project is defined as:

A demo project has no Firebase console configuration and no live resources. Demo project IDs have the demo- prefix.

The above mentions a demo- prefix but I can't find any examples of how that works. Is it possible to setup a demo project as specified in the above documentation without requiring a Firebase console project or any live resources?

You can start the emulators with a demo project by using the --project flag:

$ firebase emulators:start --project demo-test --only auth

Just make sure that the project ID start with the demo- prefix. This line will produce the following output:

i  emulators: Starting emulators: auth
i  emulators: Detected demo project ID "demo-test", emulated services will use a demo configuration and attempts to access non-emulated services for this project will fail.

Your question is not clear. But if you want to connect the mobile application to Firebase. You can try this:

https://github.com/firebase/FirebaseUI-Android

https://github.com/firebase/FirebaseUI-iOS

Your question is not clear. But if you want to connect the mobile application to Firebase. You can try this:

https://github.com/firebase/FirebaseUI-Android

https://github.com/firebase/FirebaseUI-iOS

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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