Skip to content

Reducing your app size by excluding .plan files#

LUNA ID uses neural networks for face processing in images and video streams. Neural networks are stored in the .plan files. You can reduce the size of your app by removing unnecessary .plan files.

In LUNA ID for Android#

You do not need to remove any .plan files as they are distributed separately. For details, see Distribution kit.

In LUNA ID for iOS#

To reduce your app size, remove unnecessary .plan files from the luna-id-sdk_ios_v.X.X.X\frameworks\fsdk.xcframework\ios-arm64\fsdk.framework\data directory.framework/ios_arm64(or simulator)/fsdk.framework/data/ directory. The .plan files that you can remove are:

  • glasses_estimation_v2_arm.plan
  • mask_clf_v3_arm.plan
  • oneshot_rgb_liveness_v7_model_3_arm.plan
  • oneshot_rgb_liveness_v7_model_4_arm.plan
  • cnn59m_arm.plan