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

Backup the database of the App from SQLite to Firebase #3

Open
opticod opened this issue Jan 22, 2018 · 4 comments
Open

Backup the database of the App from SQLite to Firebase #3

opticod opened this issue Jan 22, 2018 · 4 comments

Comments

@opticod
Copy link
Member

opticod commented Jan 22, 2018

Presently App's database is build using SQLiteDatabase. You can have a look in this folder.

We need to backup the drive screen datas online to Firebase, so that if any user signs into different device, then the drive list needs to be automatically fetched from Firebase and to be filled.

For this issue, you just need to design the same schema pattern in Firebase. You can start by creating your own Firebase project here and add your google-services.json from Firebase project in app/

Please refer README.md for more details. Feel free to comment here, if you face any issues.

@dabbler011
Copy link

@opticod may I work on this issue?

@opticod
Copy link
Member Author

opticod commented Jan 26, 2018

@dabbler011 Yaa sure

@opticod
Copy link
Member Author

opticod commented Jan 30, 2018

Reopening this, as #7 doesn't completely solves the problem.

  • Showing some dialog progress box, when the backup is going on.
  • When there are no drive screens, on Backuping, the app crashes.
  • Place the backup icon on the drive screen, not in the navigation sidebar.
  • There is HTTP leak while backuping the data.

@opticod opticod reopened this Jan 30, 2018
@opticod
Copy link
Member Author

opticod commented Jan 30, 2018

There should also be a feature to reload the drive screen from the cloud backup.

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

No branches or pull requests

2 participants