Google Compliant Activity (Optional)
As a HostApplication integrating the Ads, Google suggests that the monetisation Ads be displayed with Host Application in background. To enable this feature set, we have included HostComplianceActivity.java
file in the DR library module. This file can be customised by the App developer with image / Color or any other design as required.
HostComplianceActivity can be found in this path node_modules\react-native-iulibrary\android\src\main\java\com\iu\reactlibrary
and related layout can be found in node_modules\react-native-iulibrary\android\src\main\res\layout\activity_host_compliance.xml
.
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.
Reach out to us incase you need any further assistance on this.
Updated about 3 years ago