firebase / firebase/snippets-android

Firebase.database.getReference(".info/connected") disconnect after a minute

Open
#460 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
817
Forks
429
Avg merge
10d 14h
Merged PRs (30d)
2

Description

This reference tends to change value after a minute to false, so it blocks my access to Firebase, please tell me any solution or alternative, I just want to detect if the device has a connection to the database to make changes with the internet or just local

Contributor guide

Open the contributing guide

Research direction

Start with the Firebase.database.getReference(".info/connected") behavior described in the issue and consult the Firebase Realtime Database connection-state documentation. Determine whether the transition to false after a minute is expected, then identify the supported way to distinguish database connectivity from local writes; done means a verified explanation or documented alternative.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, firebase, java
Domain
databases, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.