This question already has answers here:
How to clone an existing Firebase project data to another new project?
(3 answers)
Closed 3 years ago.
I would like to create a duplicate project in firebase so that I dont have to go through the hassle of adding the firebase functions and notifications etc. If I could I would just delete all auth users so that its ready for the actual app but I am unable to do that.
So How can I set up a duplicate project but without all the authenticated test users?
There is currently no simple way to duplicate a project. The best you can do is use the management API and the Firebase Admin SDK and Firebase CLI to script the provisioning and setup of the products you use.
Related
This question already has answers here:
Can multiple android application access same firebase database?
(8 answers)
Firebase: multiple Apps connected to single firestore
(1 answer)
How do i use the same firebase database for two apps? [duplicate]
(1 answer)
Is there a way to have 1 Firebase database for 2 apps with different package names?
(1 answer)
Closed 2 years ago.
I'm making two Apps so if I do add, update or delete in App1 it should reflect in App2 and what are the things do to connect both apps work with each other with same database in Firebase ?
Add both the android project to same firebase project, add fingerprints in firebase, give address of same database node in both the android project and you are good to go.
Firebase supports multiple project linking.
This question already has answers here:
Can Firebase hosting restrict access to resources?
(2 answers)
Firebase Hosting - Members Only / Secured Webpages? [duplicate]
(1 answer)
Closed 2 years ago.
I am using my react, redux, firebase, Firestore, auth project and uploaded my project on free google Firebase Hosting.
I am newbie
when I goto inspect and check the console and other code.
my code and information still visible to general public like user email and first and last name.
I was thinking npm run build hides everything automatically.
please help me how to hide sensitive data on free Firebase Hosting.
much appreciated.
Everything you deploy to Firebase Hosting is public. There is no way to change this behavior.
If you are worried about your Firebase configuration, that must be public, and it is safe as long as you have security rules correctly in place. See also: Is it safe to expose Firebase apiKey to the public?
This question already has answers here:
How do I switch apps from the firebase cli?
(9 answers)
Closed 5 years ago.
I have two Firebase projects one for the development of another for production. How do I switch between them in the root branch with cloud functions? Since for example I'm developing a new function and I want to do deploy only on the firebase development project and check how it works before doing deploy in the firebase production project.
Please read the documentation for the Firebase CLI. In particular, you'll want to learn about the firebase use command to create aliases for your projects and switch between them for deployment.
This question already has answers here:
Is it possible to create a new Firebase project by API?
(2 answers)
Closed 4 years ago.
Is it possible to create a Firebase project in my account without having to do it through the console? Can I do it with an API? I didn't see anything about it in the docs.
I want to use Firebase for my SaaS project, but I use Firebase for authentication. I don't want to keep all the users in one project.
This is not currently possible. I'd encourage you to file a feature request with a detailed use case.
For what it's worth, it most likely will never be possible to spin up a project for each customer of a SaaS product (unless customers are in the 10s).
The Firebase Management API launched at the Firebase Developer Summit in October 2018, and can be used to (among other things) create Firease projects by adding Firebase to existing Google Cloud Platform projects.
This question already has an answer here:
Create a new firebase app from API [closed]
(1 answer)
Closed 7 years ago.
When I signed up for a firebase account, 'my first app' was already created for me. Having my google credentials, how do I programmatically crate a new app and perhaps even upgrade it to a desired plan? This is all about infrastructure as code and I'd hate to write phantom scripts for this.
Firebase doesn't have a public API to create new apps or upgrade existing ones.
See:
Create a new firebase app from API
Create an app automatically on firebase