6. Deployment
When deploying an app that uses Ditto for real-time, peer-to-peer data sync, it’s essential to ensure that platform-specific configurations and optimizations are in place for a smooth launch. This section guides you through preparing your app for production deployment across iOS, Android, and Web platforms.
Ensure stable Bluetooth connections to critical devices like payment readers in a mesh network by using custom logic on iOS and monitoring with Ditto Presence. Proactively manage connections in high-traffic environments to avoid disconnections.
Configure Ditto LAN for peer discovery using mDNS and DNS-SD. This guide covers optimizing peer-to-peer Wi-Fi transports like AWDL and WiFi Aware, along with network performance and troubleshooting tips.