General SDK
Database & Sync
Connection
Battery
Performance
Bluetooth
Security
Versioning
Quickstart
MongoDB Connector
General SDK
How do Ditto apps sync without internet connectivity?
How do Ditto apps sync without internet connectivity?
What are the device and operating system requirements?
What are the device and operating system requirements?
How does Ditto still enable offline data?
How does Ditto still enable offline data?
Database & Sync
Can I sync data with devices that I am not directly connected to in the mesh?
Can I sync data with devices that I am not directly connected to in the mesh?
Can multiple apps share a database?
Can multiple apps share a database?
Can I explicitly control the start and end of synchronization?
Can I explicitly control the start and end of synchronization?
startSync()
and stopSync()
methods that will enable and disable network sync.Will the app sync in the background?
Will the app sync in the background?
Does the sync happen even when the device is locked?
Does the sync happen even when the device is locked?
Is there a limit to the amount of data?
Is there a limit to the amount of data?
What happens if data is changed by multiple devices at the same time?
What happens if data is changed by multiple devices at the same time?
Is there a transaction feature?
Is there a transaction feature?
Connection
Can you track the connection status of all devices in real time?
Can you track the connection status of all devices in real time?
ditto.presence
SDK function.Can I detect a loss of connection?
Can I detect a loss of connection?
ditto.presence.observe()
callback.Can I specify the connection type?
Can I specify the connection type?
How can I show how many peers are connected?
How can I show how many peers are connected?
ditto.presence
functionality provided by the SDK to keep track of which devices are online. Therefore you’ll be able to determine which devices are offline.If you don’t maintain a separate list of devices in your team then the best you can currently do is to keep track of all devices that Ditto sees, again by making use of the ditto.presence
API. You can then use this list of all known devices to keep track of which of those are online/offline at any given moment.How can I profile Ditto-related network traffic and data usage?
How can I profile Ditto-related network traffic and data usage?
Can I use both connectivity types (Device-Device and Device-Server-Device) at the same time?
Can I use both connectivity types (Device-Device and Device-Server-Device) at the same time?
Can Android and iOS devices sync with each other over WiFi Direct using Ditto?
Can Android and iOS devices sync with each other over WiFi Direct using Ditto?
Security
How do I set up authentication?
How do I set up authentication?
Is the data in the database encrypted?
Is the data in the database encrypted?
How can I limit the devices the SDK can connect to?
How can I limit the devices the SDK can connect to?
Is the communication encrypted?
Is the communication encrypted?
How can I control what data can or cannot be synced?
How can I control what data can or cannot be synced?
Can other apps with the Ditto SDK intercept the communication?
Can other apps with the Ditto SDK intercept the communication?
How does the certificate work?
How does the certificate work?
Bluetooth
What is the difference between Bluetooth Classic and Bluetooth Low Energy?
What is the difference between Bluetooth Classic and Bluetooth Low Energy?
Does the SDK require Bluetooth pairing?
Does the SDK require Bluetooth pairing?
How does the sync work if devices have different BLE versions?
How does the sync work if devices have different BLE versions?
What is the range for Bluetooth connections?
What is the range for Bluetooth connections?
Does the sync still work if the smartphone is connected to audio devices via Bluetooth?
Does the sync still work if the smartphone is connected to audio devices via Bluetooth?
Battery
How much does the SDK consume battery?
How much does the SDK consume battery?
Does the iOS Low Power Mode affect the performance?
Does the iOS Low Power Mode affect the performance?
Performance
Does having a device in Airplane Mode affect the performance?
Does having a device in Airplane Mode affect the performance?
How fast is the sync?
How fast is the sync?
- WiFi: the full speed of your connection, typically 1 gigabyte of data in times as low as 8 seconds.
- WiFi Direct: similar to WiFi speeds
- Bluetooth LE: typically 20 kB/second (however, if you’re using a device that is below Android 10, then Ditto will use BLE GATT which is only 4 kB/second.)
- Ditto Server: 40k transactions per second (25k write txns + 15k reads)
How much data can Ditto hold? How big can a Ditto document be?
How much data can Ditto hold? How big can a Ditto document be?
Are there any limits to the number of collections?
Are there any limits to the number of collections?
How much memory does Ditto consume during high load times?
How much memory does Ditto consume during high load times?
Versioning & Upgrading
Is there backward compatibility when upgrading?
Is there backward compatibility when upgrading?
What is the difference between experimental, rc, and preview releases?
What is the difference between experimental, rc, and preview releases?
How fast does the SDK follow the iOS version update?
How fast does the SDK follow the iOS version update?