Overview

Skill Level: Any

Prerequisites

The SDK contains a cache for images. The cache has an in-memory level and file system level. The file system cache is located under <external cache folder>/ibm-mce-android-sdk/cache/images.

Not what you’re looking for? Check out all our available tutorials for mobile app messaging here.

Step-by-step

  1. Configure the cache by adding the following code to the MceConfig.json file:

     

    "inMemoryImageCacheCapacityInMB" - The size of the memory cache in megabytes. The default is 20MB.
    "fileImageCacheCapacityInMB" - The size of the file system cache in megabytes. The default is 100MB.
    
    "useInMemoryImageCache" - Set to true to use the memory cache or false to disable it.
    "useFileImageCache" - Set to true to use the file system cache or false to disable it.
    

Expected outcome

Need more help? Check out all of our available tutorials for mobile app messaging here.

Join The Discussion

Your email address will not be published. Required fields are marked *