Demo app for showcasing Ditto's real-time sync and Conflict Resolution through the use of an inventory counter.
This inventory demo showcases the smoothness of Ditto's sync and conflict resolution, and how counters work with Ditto. You can also open up the Presence Viewer to see all existing devices and connections in the mesh.
Powered by Ditto.
For support, please contact Ditto Support (support@ditto.live).
- Run
cp .env.template .env
at the root directory - Edit
.env
to add environment variables - Open the app project on Xcode and clean (Command + Shift + K)
- Build (Command + B)
- This will generate
Env.swift
- This will generate
- Create a folder called
secure
in theAndroid
directory. - In the
secure
folder add a file calleddebug_creds.properties
with the following content:
APP_ID="your_app_id"
ONLINE_AUTH_TOKEN="your_playground_token"
- Replace
your_app_id
andyour_playground_token
with your App ID and Online Playground token from the Ditto portal. Keep the double quotes! - You can now run the debug build of the app.
If you need to create a release build follow the same steps above, except create a file called release_creds.properties
.
Compatible with Android Automotive OS (AAOS)
MIT