GuidesDiscussions
Log In
Guides

Opt-in/out

Opt-In dialog Customization

300

Opt-In dialog has 4 Strings which can be customized.

A. Opt-In Dialog Title : You would be able change the title of the Opt-In dialog. For this add the following line to your string.xml file.

<string name="opt_in_dialog_title">Opt In Dialog</string>

B. Opt-In Dialog Message : You would be able change the message of the Opt-In dialog. For this add the following line to your string.xml file.

<string name="opt_in_dialog_message">Would you like to Opt In to our Ad Service.</string>

C. Opt-In Dialog Confirm Button : You would be able change the Confirm button text of the Opt-In dialog. For this add the following line to your string.xml file.

<string name="opt_in_dialog_positive_button">ALLOW</string>

D. Opt-In Dialog Reject Button : You would be able change the Reject button text of the Opt-In dialog. For this add the following line to your string.xml file.

<string name="opt_in_dialog_negative_button">DENY</string>

Opt-out dialog Customization

300

Opt-out dialog has 4 Strings which can be customized.

A. Opt-out Dialog Title : You would be able change the title of the Opt-out dialog. For this add the following line to your string.xml file.

<string name="opt_out_dialog_title">Opt-out</string>

B. Opt-out Dialog Message : You would be able change the message of the Opt-out dialog. For this add the following line to your string.xml file.

<string name="opt_out_dialog_message">Do you wish to opt-out completely?</string>

C. Opt-out Dialog Confirm Button : You would be able change the Confirm button text of the Opt-out dialog. For this add the following line to your string.xml file.

<string name="opt_out_dialog_positive_button">YES</string>

D. Opt-out Dialog Reject Button : You would be able change the Reject button text of the Opt-out dialog. For this add the following line to your string.xml file.

<string name="opt_out_dialog_negative_button">NO</string>

Opt-out Confirmation through Toast

300

DR SDK would be able to show the confirmation of the opt-out with the help of Toast. For this, you can change the below text.

<string name="opt_out_toast">You have been opted out!</string>