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 }