SDKのサイズはどれくらいですか?
バイナリサイズとメソッド数
SDKをアプリに導入することで、アプリのサイズは増加します。 バイナリファイル(ipa/apk)のサイズやメソッド数(androidのみ)の増加量の一例は以下の通りです。
追加モジュール | 項目 | 増加量 | |
|---|---|---|---|
iOS SDK (2.17.0) | Core, InAppMessaging, RemoteNotificationRemoteNotification | サイズ | 557.6KB |
Core, InAppMessaging, RemoteNotification, Variables, VisualTracking | サイズ | 729.6KB | |
Android SDK(2.12.1) | core, inappmessaging, notifications | サイズ | 692.6KB |
〃 | 〃 | メソッド数 | 9273 |
〃 | core, inappmessaging, notifications, variables, visualtracking | サイズ | 729.9KB |
〃 | 〃 | メソッド数 | 9687 |
Android SDK(2.12.1) with ProGuard | core, inappmessaging, notifications | サイズ | 343.2KB |
〃 | 〃 | メソッド数 | 2555 |
〃 | core, inappmessaging, notifications, variables, visualtracking | サイズ | 367.2KB |
〃 | 〃 | メソッド数 | 2989 |
計測条件
いずれも空のアプリにSDKを導入した場合の差分を計測しています。
導入バージョンは2021/10/1時点の最新版での測定になります。
また、AndroidのProGuard適用時の計測にあたって、最低限のAPI参照のみを行っているため、API参照状況で数値は前後します。
iOS
- Xcode 13 / arm64 / iOS 13以上
- iPhone 12
- 最適化レベル=-O
- 最適化レベル=-O
- iPhone 12
Android
- Android Studio 3.1 / arm64 / Android 5.1以上
- Pixel 3a
- ProGuard指定なし
- Pixel 3a
Updated 3 days ago