Skip to content
  • There are no suggestions because the search field is empty.

How can I reduce application size by loading effects from external (online) storage?

Core Face AR SDK takes about 15 Mb. However, depending on the number of effects and additional features you use, this size can increase.

You can mitigate that by storing effects in our AR cloud. It allows your users to download the masks and filters on-demand, reducing the download size. Follow the AR cloud integration guide to quickly integrate this feature.

Another approach is to set up your own online storage:

  • Create online storage and put all necessary effects there (preferably as zip archives);
  • Implement as a part of your application:
    • the logic to download effect,
    • extract effect to specified folder,
    • passed as a path to BanubaSDKManager.init() method (in the case of OffscreenEffectPlayer - UtilityManager (iOS, Android), bnb::utility - desktop)

After that load effect regular way via loadEffect passing it name as an argument (folder name).