couchbaselabs / ToDoLite-iOS

To-Do list sample app for Couchbase Lite, native iOS version
85 stars 41 forks source link

Fixes to enable continuous replication to remote server #3

Closed gosixtyfive closed 9 years ago

gosixtyfive commented 11 years ago

Three items:

1) Previously, when the kDefaultSyncDBURL is defined, it exposed the non-defined kPrefServerDB constant. 2) Method call to set URL for database changed to match .h file 3) Need to set continuous to TRUE, otherwise sync only happens on app init.

snej commented 11 years ago

There's one line I'd like you to move, otherwise looks good. Thanks!

gosixtyfive commented 11 years ago

I think this is what you were asking for: More clearly separating the Sync DB setup and Notification setup.

pasin commented 9 years ago

We have refactored the app and I don't see any issues related to continuous replication. I think this PR is not applicable now. Closing the PR.