firebase / firebase-cpp-sdk

Firebase C++ SDK
http://firebase.google.com
Apache License 2.0
277 stars 115 forks source link

Load another ad on an interstitial fails with internal SDK error on iOS #4

Closed berinhardt closed 5 years ago

berinhardt commented 5 years ago

The first interstitial (loaded after InitializeLastResult() completes) works fine, but if I try to load another ad on OnPresentationStateChanged(ad, kPresentationStateHidden) it fails with InternalSDKError

Only way I could make it work was by creating a new firebase::admob::InterstitialAd and load there, but it's a bit of a hassle. Is this intended behaviour?

ericleich commented 5 years ago

This is intended behavior of the underlying iOS Google Mobile Ads SDK. As noted in the iOS interstitial developer docs, interstitials are a 1-time use object.