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 ([email protected]).
- Copy the
.env.template
file to.env
.- in a terminal:
cp .env.template .env
. - in a macOS Finder window, press
⇧⌘.
(SHIFT+CMD+period) to show hidden files.
- in a terminal:
- Save your App ID, Online Playground Token, Auth URL, and WebSocket URL in the
.env
file.
- Open the app project on Xcode and clean (Command + Shift + K)
- Build (Command + B)
- This will generate
Env.swift
- This will generate
Android looks at the same .env file that iOS does. When gradle restores packages, it should auto load in the information from the .env file to the BuildConfig. DittoManager then reads these values and uses them to connect to Ditto.
For more information, see the build.gradle file.
Compatible with Android Automotive OS (AAOS)
MIT