Since each specific combination contains a complete copy of the Ditto SDK’s Rust code core, when supporting various platforms or different architectures, it adds to the overall size of the SDK package.

The following table provides a summary of the SDK sizes for different platform and architecture combinations supported by Ditto:

LanguageTypeSize
C# .NETNuGet Package217 MiB¹
C++Android205 MB
C++Linux57 to 58 MB
JavaAndroid77 MB
JavaScriptBrowser (WebAssembly)19 MiB
JavaScriptNode.js (Linux)~65 MB
JavaScriptNode.js (macOS)~45 MB
JavaScriptNode.js (Windows)~40 MB
JavaScriptReact Native Android (dynamic)On-demand
JavaScriptReact Native Android (static)Varies
JavaScriptReact Native iOSVaries
KotlinAndroid77 MB
RustNative SDK (dynamic)63 MiB
RustNative SDK (static)237 MiB
SwiftiOS198 MB

¹The .NET NuGet package size exceeds 250MB and has been optimized to fit within the limit.

Was this page helpful?