Clifton L. Helpful | Level 6

Comments

  • I'm seeing erratic results with the v2 search API as well. I have the following filenames in my folder: DaveLogbook.pilotpro Logbook-Dave.pilotpro Logbook.db Logbook.pilotpro PilotPro.db This search: $dropbox->search('/', 'Logbook.pilotpro', []); ...returns the following files: Logbook.db ------------------…
  • Thanks for your reply. I've done that twice now and no luck.
  • Yes, the local and remote DBs are the same structure, they just get compared for new/changed/deleted records with each sync. I don't keep a log of transactions, I just compare the databases. And yes, each sync requires a download and an upload of the database file. So the downsides: * It's "expensive" to sync (download…
  • All the syncing is done via SQL queries, so it's very custom. Here's how it works: Step 1: Download the remote Dropbox SQLite file. Step 2: Open the local SQLite file and the remote SQLite file and attach them so they can be queried simultaneously. Step 3: Perform queries that add new records from the remote database to…
  • For my situation and what I'm trying to accomplish, it seems to be a good option. 
  • Haha... yep. I was shocked when Parse made that announcement. :) I have since switched to a new data storage solution where everything gets stored in SQLite and I sync the SQLite databases between devices using Dropbox. I sure hope Dropbox doesn't shut down their main API. :)
  • I looked into the local datastore but decided to not use it (for now). It's not like Dropbox's in that you have access to all your data while offline. Parse's approach is more like where you can temporarily "pin" some data to be saved once you get back online. It's not meant for extended offline use with full app…
  • Since posting this, I have migrated my app to Parse, and overall I'm really pleased. I have had to get used to my app being more reliant on a network connection, but that's a pretty common requirement nowadays anyway. I recommend looking at Parse. They have lots of great dev tools and there is plenty of community support.
  • Thanks for that rundown, Caram. I had looked at Cognito but wondered about its future since I don't know a single developer using it. Since Dropbox's news about deprecating the Datastore API, I have been working with Parse. It requires a bit of a shift in how you think about storing data since it's much more about querying…
  • Which does Dropbox prefer: that API developers post questions to this forum, or to Stack Overflow?