Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 9c45840

Browse files
Prevent an error due to a missing callback handler
1 parent 57b1460 commit 9c45840

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/admob/admob.ios.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ export function showInterstitial(arg?: InterstitialOptions): Promise<any> {
176176
}
177177
CFRelease(delegate);
178178
delegate = undefined;
179-
});
180-
// we're leaving the app to switch to Google's OAuth screen, so making sure this is retained
179+
}, () => console.log("Ad closed"));
181180
CFRetain(delegate);
182181
firebase.admob.interstitialView.delegate = delegate;
183182

0 commit comments

Comments
 (0)