Follow

What is the size of the Scandit SDK?

The following tables give you an indication of the built app size containing Scandit SDK based on Scandit samples (available with the SDK) for iOS + Android:

 

iOS

Scandit Application Sample (File Size of built .ipa) SDK 6.21
BarcodeCaptureSimpleSampleObjC (thinned IPA for iPhone 13) 5.8 MB
IdCaptureSimpleSample (thinned IPA for iPhone 13) 15.1 MB
ID Validation (USDLVerificationSample) 24.6 MB

 

 

Android

Scandit Application Sample
(File Size of built .apk, split build for arm64-v8a)
SDK 6.21
BarcodeCaptureSimpleSample 23.0 MB
IdCaptureSimpleSample 34.8 MB
ID Validation (USDLVerificationSample) 47.7 MB

 

Android - compressed

In case the .apk size is crucial for the project, it is possible to restore the compression method that was default in the past by adding android:extractNativeLibs="true" to the Android Manifest. The table below specifies sizes for this configuration:

Scandit Application Sample
(File Size of built .apk, split build for arm64-v8a)
SDK 6.21
BarcodeCaptureSimpleSample 12.2 MB
IdCaptureSimpleSample 22.6 MB
ID Validation (USDLVerificationSample) 32.1 MB

 

 

 

How can I measure the size of my own application?

iOS

The not thinned app contains bitcode and multiple slices for architecture types, therefore its size is different from the same part of the final app installed on the device. Thinning is automatically applied by the iOS App Store and users only download the "thinned" builds. 

You can get the final size of your app as explained in Apple documentation (see Create the App Size Report): https://developer.apple.com/documentation/xcode/reducing-your-app-s-size.

Android

Split builds have to be set up manually on the Google Play Store. More information on this is available via https://developer.android.com/studio/build/configure-apk-splits. If implemented this way, users only download the split build for their device.

 

 

Was this article helpful?
5 out of 6 found this helpful
Have more questions? Submit a request