Skip to main content
App Open Ads have two possible flows designed to be used together: Cold start and Resuming from background.
App Open ads must be enabled when you initialise the SDK by passing appOpenPlacementId to ContentIgniteSDK.initialise (see the Introduction). Once enabled, use the CIAppOpenAd singleton to load and show ads.

Cold start (Splash screen)

The first approach allows you to monetise the loading screen of your app. When the user opens the app, the splash screen is displayed. While your app is loading, the SDK will load an ad. If the ad loads in time you can display it before the home screen of your app is shown. Race the load against a short timeout so a slow load never blocks the user from reaching your app:

Resuming from background

To monetise the app returning to the foreground, listen to React Native’s AppState. When the app becomes active, show a ready ad, otherwise load one for the next foreground:
Guard the resume flow with a flag (e.g. a splashCompleted ref set once the cold-start flow finishes) so an ad isn’t shown twice on the very first launch.
See the full example: App Open sample app.