This repo contains apps that demonstrate how to use the Ditto SDK for supported programming languages and platforms.
See Ditto's Quickstarts documentation for more information.
For support, please contact Ditto Support (support@ditto.com).
Important
This repository is a read-only mirror maintained by Ditto's SDK release process. Pull requests opened outside that process are not accepted. To report a problem or request a change, contact Ditto Support (support@ditto.com).
The Ditto SDK requires you to provide an identity for your application, which may be generated using the Ditto Portal. For the purposes of these quickstart applications, we'll be using the "Development" identity type.
Important
The Development identity type is not suitable for production use. It is intended only for development and testing purposes.
To obtain your Ditto identity and configure the quickstart apps with it, follow these steps:
- Create a free account in the Ditto Portal.
- Create an app in the Ditto Portal.
- Copy the
.env.samplefile to.env.- in a terminal:
cp .env.sample .env. - in a macOS Finder window, press
⇧⌘.(SHIFT+CMD+period) to show hidden files.
- in a terminal:
- In the Ditto Portal, open your database's Connect tab — it lists your
Database ID, Development Token, and Server URL. Save these values in
the
.envfile.
Please see the app-specific README files for details on the tools necessary to build and run them.
- Android Kotlin
- Android Java
- Kotlin Multiplatform
- Java Server
- C++ TUI
- C# .NET MAUI
- C# .NET TUI
- C# .NET Win Forms
- C# .NET Win Forms (.NET Framework 4.8)
- Electron
- Flutter
- Go TUI
- Javascript TUI
- Javascript Web
- React Native
- React Native Expo
- Rust TUI
- Swift
This repo is licensed under the MIT License. See the LICENSE file for rights and limitations.