Connect an android studio proyect to another firebase account - android

I have an android app in android studio that is connected to my personal firebase account. Now i need to move, transfer or connect it to another firebase account, that is a client's property. How can i do it please?

Just replace the google-services.json.
Delete your personal google-service.json from the android project
Delete the project from the firebase console as well if you want to keep the same package name.
Create a new Firebase project using client account and add updated google-service.json in android project.

Related

google-services.json Google Cloud oauth login and Firebase dynamic link same project android

I have an Android project where I am using Google Cloud authentication service, where I downloaded the google-services.json file and everything is working.
Now that using Firebase's Dynamic Link service, where it asks to download another google-services.json file and put it in the same location.
I don't know how to proceed in this case, any tips?
If you are using the same project then feel free to use the last one google-services.json that it suggests downloading because it will already include your previous configuration.
You can easily check this if you compare the first and second one jsons.
Make sure that you only have this most recent downloaded config file in your app.
You can get the most recent config file for your Android app in Firebase Console at any moment.
Go to your Project settings in the Firebase console.
In the Your apps card, select the package name of the app for which you need a config file.
Click google-services.json.

How to view, modify database of a existing firebase android project from firebase console/android studio from a different google account?

I have a firebase android project which I had created long back. I have lost the details of the google account which was integrated to and not able to retrieve it. Right now, I tried to connect the project to the firebase with a different google account by changing the google-services.json file and rebuilt the project in the android studio where the build is successful.
I was wondering if there is a way to view, modify and change the existing database structure using the firebase console/android studio.
OR
How to view, retrieve, modify database/DB structure of an existing firebase android project from firebase console/android studio from a different google account?
Is there a way to view the firebase database in android studio? Any references, guidelines will be much appreciated. Thanks in advance.
There are no tools for working with Firebase project data in Android Studio. You have to use the Firebase web console, or build your own tools.

Can I create a Firebase account from code in my app

From a Windows, Android or IOS application, I would like to create a new Firebase account\project when the user installs the app.
Is that possible?
No, it's not possible
In order to create and add a project on firebase you need to upload your package name and
SHA-1(optional but still required for authenticating your client)
After that a JSON file will be generated and you have to put that file in your projects App folder and configure your Gradle files
so you can see now.
You cannot do this process on installing of app

No clients were able to be added to your Firebase project

I recently released an Android App on the playstore this app is currently linked with both Google's Admob and Google's firebase for analytics, after a while I started working on an update that includes FIREBASE NOTIFICATIONS when I tried to connect firebase to the project I got this error:
Firebase
No clients were able to be added to your Firebase project for the following reasons:
An app with this package name and SHA1 is already connected to a Google project. If you have used a Google API previously, please select that project in the Connect to an existing project list.
Client Package Name: xxxxxxxxxxxxxxxxxxxxxxxxx
Client SHA1: [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
How to fix this without loosing my previous analytics stats ?
You Should Use The existing App And Include Feature For Push Notifications at Firebase console or firebase assistant in studio
As you are creating a new project in firebase assistant for push notifications but you have aldready added this app for another services it Wont use two firebase projects for Single application so Make Sure You Are Going With The Past Project which you have done for admob and then go to cloud messaging amd enable it then you will successfully connect
If any errors again i can Help
Thank you
And If You Created Aldready you can import that project into previous project but make sure that you use same firebase account
https://firebase.google.com/support/faq/
Use this link to know about importing projects

Android firebase and google integration

services.json file . First I download it for google integration and second is for firebase integration. Now I'm confused to use which one. Both are having different client ids.How can have single google-services.json and use it for both firebase and google integration?
What I would recommend, if you have access to the Google project but not the developer's console, is to access the Firebase Console, click "Import Google Project", and select your existing project.
This will create a new Firebase project that integrates with your existing Google project, in theory allowing you to use the same API keys, and by extension, the same "google-services.json" file.

Categories

Resources