App Can't be Exported Due to Firebase Config Error

While using Firebase Authentication in app, I have seen many times that builder throw back Firebase Config Error even when everything is correct. So in this resource I will be stating a tested method that can actually help in solving this rare issue!

Follow the steps below:

  1. Remove the file named google-services.json from asset.
  2. Try to recompile the project. (You will get the same error obviously!)
  3. Upload the config file again in asset.
  4. Refresh the page and you are done!