How to make mobile apps with our SDK lighter.

If you are interested in providing the client with maximum efficient applications, you need to make your applications lighter. To debug and distribute apps that use MC SDK or RTR SDK we do not need all the files. For example minimum weight for different distributed apps:

MicrosoftTeams-image__1_.png

Step-by-step guide

The guide will explain what files we may delete without damaging the CoreAPI-sample project designed to proceed files from memory and recognize English text without additional features such as Business Cards Recognition and MRZ Recognition.

  • Open the DevelopersGuide > Distribution Kit. In the second table, you can find what files you need.
  • From the libs folder, we will need:
    1. MobileOCR.framework
    2. AbbyyRtrSDK.framework
    3. AbbyyZlib.framework
    4. CustomAllocator.framework
    5. FineMachineLearning.framework (Also FineMachineLearningExt.framework if you have it)
    6. FineObj.framework
    7. Image.Services.Core.framework
    8. copy_frameworks.sh
  • From the assets/dictionaries folder, we will need English.edc.
  • From the assets/patterns folder, we will need:
    1. FindText.rom
    2. CropClassifierPhoto.imodel
    3. European.rom
  • From the assets/bcr folder, we won't need anything in this case.
  • From the assets/translation folder, we won't need anything in this case.
  • From the assets folder, we will need also copy_files.py.
  • From the scenariosdatacapture/assets/patterns folder we won't need anything in this case.
  • From the notice folder, we will need all the files.

After all steps we will have a project folder that weights 28MB for iOS, after archiving the resulting app will be even smaller.

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed