android-firebase-chat
android-firebase-chat copied to clipboard
app crashes after "get all friend dialogue"...please help
Please give me logs or exception? Thanks
hi, please help me with this problem!
@aj0109 @mary8 I know the solution, i got the same problem too before.
- You must change the default firebase to your firebase. It is enough to change the google-services.json only
- You must enable the rule to "True". (Because every user data that have register is stored on Firebase Realtime Database)
- You may not add the user via console. You must add the user via apps (As i said before, when you register, the apps store your identity in realtime database).
rule should be like =>
{ "rules": { ".read": "auth != null", ".write": "auth != null" } }