Describe the bug
I am getting this message: Default FirebaseApp is not initialized in this process com.mygdx.game. Make sure to call FirebaseApp.initializeApp(Context) first.
To Reproduce
Json File: android/google-services.json
@Override
public void create () {
batch = new SpriteBatch();
img = new Texture("badlogic.jpg");
GdxFIRApp.inst().configure();GdxFIRDatabase.inst()
.inReference("/user")
.push()
.setValue(new User("Bob", "bob@bob.com"));
}
Expected behavior
A clear and concise description of what you expected to happen.
Platform (please check one of the following):
[ ] Android
Smartphone (please complete the following information only if platform is Android or iOS):
Describe the bug I am getting this message: Default FirebaseApp is not initialized in this process com.mygdx.game. Make sure to call FirebaseApp.initializeApp(Context) first.
To Reproduce
Json File: android/google-services.json
@Override public void create () { batch = new SpriteBatch(); img = new Texture("badlogic.jpg"); GdxFIRApp.inst().configure(); GdxFIRDatabase.inst() .inReference("/user") .push() .setValue(new User("Bob", "bob@bob.com"));
Expected behavior A clear and concise description of what you expected to happen.
Platform (please check one of the following):
Smartphone (please complete the following information only if platform is Android or iOS):