android-firebase-chat icon indicating copy to clipboard operation
android-firebase-chat copied to clipboard

app crashes after "get all friend dialogue"...please help

Open ppanksm opened this issue 7 years ago • 5 comments

cloud crystal 2 5d_2017-08-30-22-49-38

ppanksm avatar Aug 30 '17 17:08 ppanksm

Please give me logs or exception? Thanks

hieuapp avatar Sep 08 '17 01:09 hieuapp

h

aj0109 avatar Nov 17 '17 04:11 aj0109

hi, please help me with this problem!

artarasaneh avatar Jan 20 '18 13:01 artarasaneh

@aj0109 @mary8 I know the solution, i got the same problem too before.

  1. You must change the default firebase to your firebase. It is enough to change the google-services.json only
  2. You must enable the rule to "True". (Because every user data that have register is stored on Firebase Realtime Database) image
  3. 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).

giovankabisano avatar Aug 02 '18 02:08 giovankabisano

rule should be like =>

{ "rules": { ".read": "auth != null", ".write": "auth != null" } }

R33N4K0R avatar Aug 02 '18 06:08 R33N4K0R