Wiki

Clone wiki

REACT native plugin / reloadPlacementForced

Overview

Requests placement reload. Works only if automatic reloading is disabled.

Syntax

reloadPlacementForced(placementName, forced, callback)
placementName (required)

string. Unique name of placement. The same name will be used in addapptr.com account.

forced (required)

boolean. If true, the placement will be reloaded even if other requirements like the minimum display time are not met.

callback(required)

Callback<Boolean>. Used to provide the function call result to JavaScript.

Parameters:

  • Boolean - True if call ends in causing a placement to reload, false otherwise.

Examples

#!javascript

RNAatkit.reloadPlacementForced("BannerPlacement", true, (placementReloaded) => {
                console.log("placementReloaded " + placementReloaded);
            });

Updated