skip to Main Content

The Java Android app receives a FCM and write a value to Firebase. Sometimes this value does not immediately appear in the Firebase console. It always appears eventually.

Question: How can I ensure that database updates are synced immediately in this situation?

2

Answers


  1. You can’t force the database, its SDKs, or the console to work any faster than they already do. But you can be certain that when the SDK says a write operation is complete, that data has been fully written to the database and will show up in the next query.

    If you think there is a problem with the console, then reach out to Firebase support directly. The volunteers of Stack Overflow can’t help you with that.

    Login or Signup to reply.
  2. If the Android is app is backgrounded the FCM handler may not be running until the app is next opened.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search