You must match your app id “com.yourapp.mobile” with application Id in “google-service.json” file.
For example if your application id is “com.amazingapp.mobile” you must create in firebase the “google-service.json” of the application with id “com.amazingapp.mobile”