Yorkie Android SDK provides a suite of tools for building real-time collaborative applications.
See Getting Started with Android SDK for the instructions.
Example projects can be found in the examples folder.
Read the full documentation for all details.
To work on this project, make sure you have Android Studio version Hedgehog | 2023.1.1 or later installed.
For developers with MAC, you should add protoc_platform=osx-x86_64 to your local.properties.
Start MongoDB, Yorkie and Envoy proxy in a terminal session.
$ docker compose -f docker/docker-compose.yml up --build -dStart the test in another terminal session.
$ ./gradlew testTo get the latest server locally, run the command below then restart containers again:
$ docker pull yorkieteam/yorkie:latest
$ docker-compose -f docker/docker-compose.yml up --build -d$ docker compose -f docker/docker-compose.yml up --build -dInstall Yorkie CLI following guidance.
Note: consider installing version is the same with version of SDK
Start Yorkie server
yorkie server --rpc-addr 0.0.0.0:8080./scripts/config-yorkie-local-server.shStart and create your project and get API Key on Public Cloud
Config variables in local.properties file with your Yorkie Public Cloud server URL and API key
YORKIE_SERVER_URL=https://api.yorkie.dev
YORKIE_API_KEY=Your Yorkie API keyIf you're running your own Yorkie server, config variables in local.properties file with your server URL and API key
YORKIE_SERVER_URL=https://your-yorkie-server.com
YORKIE_API_KEY=Your Yorkie API keySee CONTRIBUTING for details on submitting patches and the contribution workflow.
Thanks goes to these incredible people: