Personalized recommendation under privacy

Overview

This functionality enables users to customize whether logs are encrypted and to upload custom log file configurations, providing flexibility in managing and securing log data.

Android

The specific field values can be provided by the contact person

Add a log configuration in the rewards_widget_config.json file. The specific field values can be provided by the contact person.

copy
{
    "log" : {
        "instId" : "xxx",   // put it to request body
        "clientId" : "xxx", // set it to request header
        "dk" : "xxx",       // use this key to encrypt log. SDK will NOT encrypt if this key is empty.
        "url" : "xxx"       // log upload URL.
    }
}

iOS

The specific field values can be provided by the contact person

Add a log configuration in the rewards_widget_config.json file.

copy
{
    "log" : {
        "instId" : "xxx",   // put it to request body
        "clientId" : "xxx", // set it to request header
        "dk" : "xxx",           // use this key to encrypt log. SDK will NOT encrypt if this key is empty.
        "url" : "xxx"           // log upload URL.
    }
}