I have a project in firebase console, this project has two apps both android. I had only integrated Analytics, Notifications and Crashlytics. I had thought of just deleting the app and add it afresh to the new project in firebase I have created for it but I don't know what will happen to the current users with app installed. Is there anyway I can just migrate this app to the new project apart from deleting it and re-adding it to the new project. I have tried to google and look for a solution but all solutions direct me to migrating the app to another account not to another project in the same account. If you have any idea or advise, help me please. Thanks.
Yes, You can use the same firebase database in more than one android application as below: In the Project Overview section of Firebase Console add an android application. For adding this application first you need to give that package name. Download config file in JSON format.
I had the same question and I reached out to the support channel, here's their response:
Transferring apps from Project A to Project B, wouldn't be possible. We don't have a way in the UI to transfer an app across projects, but it can be done manually by deleting the app in Project A and creating it again in Project B. Deleting an app does not delete the API keys or the OAuth clients associated with it. But it does mark the underlying Analytics data for deletion. If you're using Firebase Auth, you could whitelist Project B's OAuth client in Project A via the Auth UI.
However you can do the following:
Realtime Database
You'll have to manually export and import your data through Firebase Console or using REST API. Both options need to chunk uploads so that it will fit within the 256 MB limit.
Firestore
Exporting or importing through Firebase Console is not currently available. However, you may develop your own import/export process for your Firestore instance as an alternative by using our SDKs or REST API. You can view this StackOveflow post and this thread for more information.
Cloud Storage for Firebase
Since Firebase Storage is backed by Google Cloud Storage, you can use the gsutil tool. You can use the copy ( cp ) or move (mv) command. You may also look at this (stackoverflow answer) for the GCloud Node option.
Cloud Functions for Firebase
You’ll have to manually deploy your Functions code to the other projects.
Authentication
You could use Firebase CLI to import and export user accounts.
The Firebase console provides no way to migrate an app and all its data from one project to another. You may want to contact Firebase support to see if there is something special that can be done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With