I\'m new to android development, since a long time, I\'m stuck in one error that is Run your app to verify installation (Checking if the app has communicated with our servers. Y
If the application is still empty, you need to add internet permission in the manifest.
<uses-permission android:name="android.permission.INTERNET"/>
I found that, even though I wasn't using Analytics (only functions and firestore), I had to add the analytics line in the build.gradle file, or:
implementation 'com.google.firebase:firebase-analytics:17.5.0'
in order for the automatic app detection to work.
I think if you know what you are doing, and don't need analytics, it is fine to just skip this step.
Incase you are running the app in a physical android device ensure it has the same google account as used to sign up for Firebase.
Just run flutter clean
command in Android studio terminal, then reinstall and then try connecting it in firebase it will work
In my case Fabric
was conflicting with Firebase
. When i removed Fabric from packages, it started working.
Also i have seen cases when there is problem to verify, when phone is connected to wifi
. In this case change network to Mobile data
.
You have to do nothing for your question but run the app on the android emulator or a real android device. If you have made your app and later added the dependencies
, then you need to delete the app from the device/emulator and install the app again.
By doing this, when the app runs, it passes variables from the google-services.json
file to the firebase servers and checks if the same app is communicating or not.
This step is to verify the correct installation of firebase dependencies in the app. If you find it difficult, you can skip the process anyway.