Now it gives me Firebase config file error. Upon searching the community I found this reply by one of the user
In this reply the user tells that the app’s package name and and the package name you provide in firebase should be same.
Now since you change the package name in your app, you may need to change the same in firebase and then create the json file.
Apart from this, I still think your package is not in proper format. Why don’t you keep as the format provided?