No description
Find a file
2024-10-09 18:05:50 +01:00
app Bump as many dependencies as easily possible 2024-10-09 18:05:50 +01:00
gradle/wrapper Bump gradle 2024-10-09 17:58:10 +01:00
.gitignore Initial commit 2021-12-16 17:54:14 +00:00
build.gradle Bump as many dependencies as easily possible 2024-10-09 18:05:50 +01:00
gradle.properties Bump to 3.1.x 2024-10-09 17:16:29 +01:00
gradlew Bump to 3.1.x 2024-10-09 17:16:29 +01:00
gradlew.bat Bump to 3.1.x 2024-10-09 17:16:29 +01:00
LICENSE Initial commit 2021-12-16 17:54:14 +00:00
README.md Update README.md 2022-06-16 15:47:36 +01:00
settings.gradle Move android studio project up a level 2021-12-16 18:02:46 +00:00

me.bbrks.dev.cbl.docreplicatortest

A simple test app to upsert documents into a CBL app, and stop and start replication against Sync Gateway. Used for manual testing of replication.

Screenshot 2022-06-16 at 15 43 26

Prerequisites

  • Create a user in Sync Gateway. E.g: curl -X PUT http://localhost:4985/db1/_user/demo -d '{"password":"password"}'

Instructions

  1. Change constants in MainActivity.java to configure Sync Gateway URL, db name, and user credentials.
  2. Run the app and perform actions through the App's UI for manual testing.

Change CBL version

  • CBL version defined in build.gradle

Disclaimer

I'm not an Android developer. Lots of things are hard-coded. This is terrible code to use as a reference for anything other than running a quick test.