'How to de-configure flutterfire?

We connect our flutter app with firebase with the following command in CLI:

flutterfire configure

As stated in docs: https://firebase.flutter.dev/docs/overview/

Lets say, Now I want this app to connect with some other project present on some other Firebase console. Then How can I de-configure my app from previous project and reconfigure with new project present? Is their any command like this:

flutterfire deconfigure

For now I'm facing this error in console when try to reconfiguring my app with other firebase console logged in:

i Found 7 Firebase projects. Selecting project skillzupp-pos.
FirebaseProjectNotFoundException: Firebase project id "skillzupp-pos" could not be found on this Firebase account.

Or if their is any manual way present to deconfigure my app from previos project?



Solution 1:[1]

I had to follow these steps:

  1. Remove if their any default project exists in .firebaserc file. Before:
    {
      "projects": {
       "default": "diary-app-course"
      }
    }

After


    {
          "projects": {
          }
        }
  1. Run this command in Firebase CLI:
firebase logout
  1. Log in again:
firebase login
  1. Again run this command in Firebase CLI
flutterfire configure

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bilal Saeed