Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Assets/Scripts/FirstLook/FirstLookBannerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@ private void CloudXCreateAndLoad()
* native layer registers the ad unit as refresh-disabled even with no
* view yet, then creates the view with refresh already off, so no timer
* ever runs. (Destroy clears that registration, hence this order.)
*
* The ad unit can also be shipped refresh-off from the CloudX
* dashboard, which sends the SDK a per-unit flag at init. Keep this
* call anyway: it is what makes the cycle independent of the unit's
* configuration, and on a unit that already has refresh off it does
* nothing.
*/
CloudXSdk.StopBannerAutoRefresh(_cloudXAdUnitId);

Expand Down