Skip to main content
Format, removed one sentence.
Link
ReyAnthonyRenacia
  • 17.7k
  • 6
  • 42
  • 63

ifIf my andoridandroid one to one chat app has 3 users A ,B, C.

whenWhen A send message to B.

C will not save this message data to disk?

In fact, C cannot see the message between A and B

FirebaseDatabase.getInstance().setPersistenceEnabled(true);

FirebaseDatabase.getInstance().setPersistenceEnabled(true); 

its meanMeaning 1: save all data in the database to disk?

  1. save all data in the database to disk?

or 2.Meaning 2: Only I have browsed?

sorry my english is not good

if my andorid one to one chat app has 3 users A ,B, C

when A send message to B

C will not save this message data to disk?

In fact, C cannot see the message between A and B

FirebaseDatabase.getInstance().setPersistenceEnabled(true);

its mean

  1. save all data in the database to disk?

or 2. Only I have browsed?

sorry my english is not good

If my android one to one chat app has 3 users A ,B, C.

When A send message to B.

C will not save this message data to disk?

In fact, C cannot see the message between A and B

FirebaseDatabase.getInstance().setPersistenceEnabled(true); 

Meaning 1: save all data in the database to disk?

or Meaning 2: Only I have browsed?

Source Link
Osas
  • 1
  • 1

what about firebase disk persistence mean?

if my andorid one to one chat app has 3 users A ,B, C

when A send message to B

C will not save this message data to disk?

In fact, C cannot see the message between A and B

FirebaseDatabase.getInstance().setPersistenceEnabled(true);

its mean

  1. save all data in the database to disk?

or 2. Only I have browsed?

sorry my english is not good