I am getting this exception at runtime:
Uncaught exception in Firebase Database runloop (3.0.0). Please report to firebase-database-client@google.com
I've gone through this article but could not find the solution.
Uncaught exception in Firebase runloop (3.0.0)
Following are my gradle dependencies for Firebase:
implementation 'com.google.firebase:firebase-analytics:17.2.0'
implementation 'com.google.firebase:firebase-auth:19.1.0'
implementation 'com.google.firebase:firebase-firestore:21.2.0'
implementation 'com.google.firebase:firebase-database:19.2.0'
Here is the code for writing data in Firebase database:
FirebaseDatabase database = FirebaseDatabase.getInstance().getReference();
database.child("users").child(username).setValue(user);
May be anyone help me solving this. Thanks for your answers!