LoadAdCallback and PlayAdCallback Fire an onError Callback

On rare occurrences in the Vungle SDK for Android and Amazon, resources can become limited, causing the system to deallocate either part of the Vungle SDK, or some of the third-party dependencies our SDK requires. In such cases, LoadAdCallback and PlayAdCallback fire an onError callback with a VungleException object, with the code VungleException.VUNGLE_NOT_INTIALIZED. This indicates that the Vungle SDK is in an inoperable state and must be re-initialized.

if (e.getExceptionCode() == VungleException.VUNGLE_NOT_INTIALIZED) {
  // Re-initialize Vungle SDK
}
Powered by Creativity Driven by Performance Sign Up Here

Questions?

Need further assistance, feel free to reach out to us, we’re here to help!

Was this article helpful?