-
Notifications
You must be signed in to change notification settings - Fork 272
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
Online Sync feature between devices #913
Comments
Would be great, and you mean the user itself would choose his cloud environment to save it, so we wouldn't have to maintain ourselves, right? |
Yes! We could add one service, and open for Hacktoberfest for new services hauahah |
I would like to give this a try. I would do some research on how this could be implemented, then propose some ideas to you, and then we could decide how to proceed? @araujoarthur0 could you specify the sources where you have seen this feature before? |
That would be awesome 🎉 |
I think Tachiyomi is open source. |
So the basic functionality of uploading data to Google Drive and importing it again is working. To create the credentials for TTL to work with the Google Drive Api these steps have to be followed. For my local development I created these credentials with my Google Account, but for the 'official version' I think it's better if one of the maintainers creates these credentials. My Question: |
Awesome, thanks Sarah! I think you can just do it hardcoded for now, and we can enjoy the picker api later. Getting the basics working first. Since this is a big feature, and @tupaschoal was considering doing a December release, I created the 'sync' parallel dev branch to 'main'. We can push the changes here piece by piece and later do the merge. |
Okay, so I will focus on the main functionality for now and add more functionalities in future PRs. Working on a dev branch is a great idea, that way I can do PRs for intermediate steps. What do you mean by header/descriptor? An additional entry in the JSON file? |
I'm thinking of some kind of encryption key that uniquely identifies the app and its files. But that can also be for later. |
I'm wondering how you @araujoarthur0 handle errors in general? With the API calls to the Google Drive API there are various things that could go wrong, should I display detailed messages to the user? Like the authentication failed, no file with this name exists, etc.? |
I believe some of them could be useful for the user to see and take action, like authentication issues. For those it's ok to trigger a dialog with the error contents. |
It would be awesome to have a feature to sync the database from more than one device with TTL installed.
For example, travel with a notebook and load up the data from your home desktop, punch your time, then arrive back home and have the new data synched back to your desktop.
We could do this through some web service integration, like Google Drive, as I have seen some Android Apps do, or Dropbox.
The text was updated successfully, but these errors were encountered: