Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android project, change Firebase Account

I have created an application and implemented Firebase (Auth, Analytics, Remote Config, Crash Reporting) with it.

Now i need to change the Firebase account because in my collaborator account we will implement Realtime Database with BLAZE plan. (we need more than 100 concurrent connections to db)

  1. Is it possible to use some features from my account and some from other?
  2. Is it possible to transfer current project from my account to his account?
  3. If both answers are NO :P, to create a new project on collaborator's account and connect it with application, will it be enough changing JSON generated from Firebase Console or this wont work?
like image 483
KlevisGjN Avatar asked Mar 02 '17 19:03

KlevisGjN


People also ask

How can I change my ID in Firebase?

A project ID cannot be changed after the project is created, so if you are creating a new project, be sure to choose an ID that you'll be comfortable using for the lifetime of the project. Save this answer. Show activity on this post. There is no way to change the ID of a project.

Can you connect more than one Firebase project to your Android app?

However, when you want to access multiple projects from a single application, you'll need a distinct Firebase application object to reference each one individually. It's up to you to initialize these other instances.

Can a Firebase project have multiple apps?

A Firebase project can have one or more Firebase Apps registered to it (for example, both the iOS and Android versions of an app, or both the free and paid versions of an app).


2 Answers

Follow the below steps, to switch firebase account

  1. Go to your firebase console, and select the project you want to shift

  2. Select the icon besides the project name on top right.

  3. Select Permissions from the flyout.

  4. You've reached the IAM & Admin page of firebase.

  5. Click on +Add button on top.

  6. Enter the email ID of the account to transfer the project to.

  7. In the dropdown, Select a role > Project > Owner. Click add Check mail in the email added above.

  8. Accept the invite, and go to IAM & Admin page of the transferred project.

  9. Use remove button to delete the previous user

Hope this helps.

like image 178
Vivek Hande Avatar answered Oct 13 '22 11:10

Vivek Hande


1- Yes, it's possible and you can follow this tutorial to do so.

2- If you want to simply switch projects, generate a new JSON on the console and remove the old one. If you want to migrate your database, it's possible, just check this question.

3- Both answers are "yes" so, try them out.

like image 28
Mauker Avatar answered Oct 13 '22 12:10

Mauker