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
Cloud save for favorites/recent stops/routes #32
Comments
Seems like Google Cloud Save in Google Play Game Services would be a good candidate here, since it also includes support for iOS and web. So, we could share favorites across platforms as well. I'm interested in this to support saving favorites to Glass (#116) as well, although currently Glass does not support Google Play Services, which is required for Cloud Save. Maybe Glass could use the web REST API instead? |
@barbeau FYI: I use Android's BackupManager on my [currently private] Glass app, but I haven't confirmed if it is actually backing up my settings to the cloud or not. |
@paulpv I guess BackupManager would work for a one-time bootstrap of user data on Glass, which would restore the users favorites, etc. when they install the Glass app from their most recent backup from an Android device. But, it seems like even if you treat Glass app as read-only (i.e., the user can't edit/add/remove items), you really shouldn't be using this to keep Glass up-to-date with ongoing changes from Android device - from Data Backup docs:
And, I'd prefer to allow the user to do simple things from Glass like tag new stops as favorites, etc. For this, and syncing changes across multiple devices/platforms, seems like Cloud Save or something similar is needed. |
Looks like Firebase Real-time database might be a good option for this - https://firebase.google.com/docs/database/. |
From https://firebase.google.com/pricing/ for "Realtime Database":
For FLAME Unlimited connections:
Without running any numbers, I'm guessing that for something simple like storing the combination of userId and favorite stopIds we'd be able to squeeze into the FLAME package for $25/month. Free tier wouldn't work due to limited number of simultaneous connections at 100. |
Looks like Cloud Firestore is replacing Firebase Realtime Database - see: |
Reported by eric.hanchrow, Aug 11, 2012
I use the app on many devices, and have to enter my favorite stops on each. It'd be nice if I could save that list of stops so that it'd be available on every other Android device on which I was logged in, and using the app.
Comment 1 by cookieguru, Today (103 minutes ago)
Dropbox or a similar service?
Comment 2 by eric.hanchrow, Today (101 minutes ago)
Dropbox would be fine. But my Google account would be even better, since most users of one bus away will already have a Google account.
The text was updated successfully, but these errors were encountered: