Best Practices

2. Setup and SDK Configuration

Getting Ditto properly integrated into your app involves configuring the SDK for your specific platform, ensuring it communicates correctly with peers and supports your app's network topology. This section provides guidance for setting up the Ditto SDK and includes platform-specific configuration best practices for iOS, Android, and Web.

Learn how to reduce the size of your Android app by optimizing the Ditto SDK package, which includes native binaries for multiple CPU types. This article covers strategies like automatic package optimization, compressing binaries, and excluding unused CPU architectures to streamline your app’s deployment while minimizing the APK size