База данных Firebase в реальном времени больше не работаетAndroid

Форум для тех, кто программирует под Android
Ответить
Гость
 База данных Firebase в реальном времени больше не работает

Сообщение Гость »


I have been using Firebase's realtime database for a while now on my app (java), but today it stopped working. I chacked other posts from this site and nothring really helped.

It doesn't save my data, not even parts of code that used to save fine.
  • Checked the status on the website, everything seems fine.
  • My database rules are as follows:

{ "rules": { ".read": true, ".write": true } }
  • I replaced the google-services.json just in case something of the database changed somehow, but it has not helped.
  • The code that I have been usin were like this:

FirebaseDatabase database = FirebaseDatabase.getInstance(); DatabaseReference mRef = database.getReference().child("characters/2/name"); mRef.setValue(most_val_q); mRef.push();
  • Checked the Firebase section in Tools to see if it disconnected, but it shows as connected.
  • Chacked the build.gradle to see if it was a version issue of sorts? It said there was a new verison and all, changed it to the new one but still doesn't work. So I put the old one, just in case.
And... I checked many things. Am I missing something? Thanks!


Источник: https://stackoverflow.com/questions/780 ... ng-anymore
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»