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

Firebase analysis #10

Open
sajankos opened this issue Apr 15, 2019 · 1 comment
Open

Firebase analysis #10

sajankos opened this issue Apr 15, 2019 · 1 comment
Assignees

Comments

@sajankos
Copy link
Contributor

Analyse firebase for sync functionality.

@sajankos sajankos self-assigned this Apr 15, 2019
@sajankos
Copy link
Contributor Author

There is no need to have firebase functionality in middleware.The webUI can directly interact with firebase either by using REST API provided by firebase or js libraries provided by firebase.
A real time db has to be created in firebase having the locationuuid and a random value associated with it.Once a push happens , the value of the location uuid needs to be updated.The devices that are connected to this db listens to this change and simply updates the sync flag for that location in the sqlite db and makes a sync call.

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

No branches or pull requests

1 participant