- CBL (1.2 release)
- Sync Gateway (1.2 release)
- ToDoLite-iOS (patched with minimally invasive sync status feature which displays synced text as black, and unsynced text as grey).
Follow these instructions in order to use Apple's "Network Link Conditioner" to test different connectivity qualities on both the simulator and on actual physical iOS devices.
In the ToDoLite-iOS project, change the kSyncGatewayUrl
in AppDelegate.m
if need be. Also, make sure that the FacebookAppID
and URL Scheme
in Info.plist
is usable/accurate as well.
- When on a good wifi connection, newly added or edited items in any of the tableViews should have black text.
- When switching to the "Very Bad Network" setting in Apple's "Network Link Conditioner", newly added or edited items in any of the tableViews should have grey text if they haven't been successfully synced within 1.5 seconds (they should turn black again once the replication properly executes however).
- When putting the testing device in 'Airplane Mode', newly added or edited items in any of the tableViews should have grey text since they're unable to sync, and should turn black again when back on a network connection.
- Works as expected.
- Works as expected.
- Unexpected behavior. The text of newly added or edited items stays black even though items have not synced due to being in 'Airplane Mode' (and therefore should be grey).