Skip to main content

Customization

You can customize various aspects of the SDK, including:

The SDK has lots of configurable parameters which can be overridden by setting up a JSON file with a schema similar to the one attached below. You can download the file and modify the values you wish to change.

lune_config.json

Once edited, save the JSON file as lune_config.json and place it in the /res/raw directory of your Android project. The final path should be /res/raw/lune_config.json.


Localization and Strings

If your app is already localized, the SDK would be localized as well - no configurations needed. If your app is not localized, however, the SDK respects that and stays in English to preserve consistency and uniformity across your app.

String Overrides

You can override specific strings by assigning a different value to the same string keys used by the SDK. The Strings used in the SDK can be found in the localization file attached below.

lunesdk-localizations.zip

As you may have noticed, the keys are unique and should not conflict with any other strings in your project.


Images

You can override any of the images in LuneSDK by simply giving other images in your project the exact same name. Each image is named using the format:

lune_sdk_asset_<image_name>

You can find a list of the images you can override here:

lune-asset-names.txt