GuidesDiscussions
Log In
Guides

Google Compliant Activity (Optional)

As a HostApplication integrating the Ads, Google suggests that the monetisation Ads be displayed with Host Application in background.

This activity will be utilised only if the Host Application is killed and user taps on the Monetisation Ads. In case the user is in Foreground or App is in Background we display the the page where the user had left.

For this, developer would need to pass the class reference of the activity when they initialise the DR SDK as the second parameter.

public class MyApp extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        ...
        IUApp.init(getApplicationContext(), HostComplianceActivity.class);
    }
}

Reach out to us incase you need any further assistance on this.