Android 2.2.2 Firebase Assistant will connect your application to firebase again

I used the Firebase Assistant that comes with Android Studio 2.2.2 to create a Firebase project. First I connected to the previous firebase project, and then I wanted to create a new Firebase project, but it always shows the “Connect your application to Firebase” step as “Connected”, and there is no button to return it. I manually configured it, but I want to know if there is a way to disconnect and reconnect it.

thanks

Firebase Assistant

+5
source share
2 answers

It seems you cannot use the Android studio client to disconnect the application project from the Firebase project.

But it can be done from the Firebase Console

  • Just log in to the console
  • Select the project to which the application is connected
  • A window appears with information about the Android application connected to the Firebase project.
  • Click the 3 dots button in the upper right corner of the Android application window and click Manage
  • Scroll down a bit and click the arrow button next to the Advanced Options heading .
  • The Delete this app button will appear, click on it and it will disconnect your Android application from the Firebase project.
+6
source

I used a little trick that also solves the problem for me. You can delete your google-services file and strip out all firebase dependencies on your gradle (i.e., compile 'com.google.firebase: firebase-auth: 11.0.4'), therefore, when you try to synchronize your project, it will fail. After that, you can copy all your databases from the database to the gradle file and synchronize the project. It will still fail because the google-services file is missing. Now you can go to the firebase tool and the project will be disabled.

+1
source

Source: https://habr.com/ru/post/1259011/


All Articles