The fire base is not called by OnCancelled if the timeout or cannot access the server

I use firebase and discovered and released that firebase does not send an error for a timeout or if it fails to connect to the server. In this case, we cannot provide the correct information to the user about what the problem is.

Firebase developers must handle this very common use case. Has anyone encountered this problem?

.addListenerForSingleValueEvent(new ValueEventListener() {

            @Override
            public void onDataChange(DataSnapshot data) {
            }

            @Override
            public void onCancelled(FirebaseError arg0) {

            }
+4
source share
1 answer

.info/connected . Firebase , onCancelled , , .

Firebase - . ( ?). , ( - iOS) , , , . .

+6

All Articles