Skip to content
Marc Pascual edited this page Jun 16, 2020 · 8 revisions

destroyBannerView()

Hide and destroy banner view. Call this method when you want to destroy banner view. It is not necessary to call this method when the app closed, as it will be automatically called by the plugin.

try {
    await admob.destroyBannerView();
} catch (err) {
    console.log('Error destroying banner:', err);
}