Home:ALL Converter>How to completely disconnect an Android app from Firebase (in Android studio)

How to completely disconnect an Android app from Firebase (in Android studio)

Ask Time:2018-07-27T09:24:14         Author:Taslim Oseni

Json Formatter

I want to completely disconnect my app from Firebase. This question has been asked several times (e.g here). Most of the answers focus on disconnecting an app from Firebase within the Firebase console and not within Android studio.

After disconnecting my app from the Firebase console. Everytime I try to reconnect the app to another Firebase project, an error balloon pops up stating that the app is already part of a Firebase project. I know this behaviour occurs because some files from the old Firebase project are still present. How do I get rid of them?

Author:Taslim Oseni,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/51549554/how-to-completely-disconnect-an-android-app-from-firebase-in-android-studio
swati kapoor :

Try shutting down the Firebase project created with the package name of the connected application; although it doesn't delete at the same time and is scheduled for later. Don't link your android app with any other firebase app till the previous connected app has been deleted completely.",
2018-07-27T10:28:39
user3475007 :

Do the following (If you want to Switch Firebase Data Sources):\nIn Android Studio, Go to Tools>Firebase, Choose any of the options such as Real time-database\nClick Connect to Firebase.\nYou will get a warning that the App is already connected to Firebase. \nClick okay. \nAndroid Studio will open a Firebase console on a browser. \nChoose the Firebase App you want to you want to connect to. \nDone. ",
2020-04-08T12:45:01
Md. Rejaul Karim :

Try these steps to remove Fire-base from Android Studio project.\n\nDelete google-services.json file from the Project (Find the file by Project view)\nRemove dependencies from Project-level build.gradle (/build.gradle)\n\nbuildscript {\n dependencies {\n // Remove this line\n classpath 'com.google.gms:google-services:4.2.0'\n }\n}\n\n\nRemove all the Fire-base related dependencies from the project App-level build.gradle (//build.gradle) file\n\ndependencies {\n // Remove this line\n implementation 'com.google.firebase:firebase-core:17.0.0'\n}\n\n\nRemove the line below from the bottom of the App-level build.gradle (//build.gradle) file\n\napply plugin: 'com.google.gms.google-services'\n\n\nRestart Android Studio\n",
2019-07-25T05:22:32
Agung Pramono :

Try this, On the project level, delete the google-services.json file \n\nand then sync the project ",
2018-12-17T08:03:37
Doug Stevenson :

You should undo all the steps that you are instructed to perform in the manual integration. So, remove all Firebase dependencies from build.gradle, remove the Google Services plugin from the bottom of build.gradle, and remove the google-services.json file.",
2018-07-27T03:39:34
yy