Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New users cannot be found #5

Closed
joelrorseth opened this issue Oct 20, 2017 · 1 comment
Closed

New users cannot be found #5

joelrorseth opened this issue Oct 20, 2017 · 1 comment
Labels

Comments

@joelrorseth
Copy link
Owner

After downloading the app, any users that have joined after that point in time cannot be found in the search. In general, the search function seems to not be working, and is checking a cached copy of the database instead of the live one.

@joelrorseth
Copy link
Owner Author

joelrorseth commented Oct 20, 2017

This issue stemmed from keepSynced() not being properly set to true on the database references used in DatabaseController. Firebase Persistence, when turned on, requires database references to set keepSynced() to true in order to guarantee that such a reference will forcibly avoid referring to the persisted / cached / offline database copy. It will otherwise pull from this persisted copy, apparently even when an internet connection is in fact present.

Please see this commit for the fix.

This issue appears to have been resolved after testing for v1.0.1, will close for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant