Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdMobInterstitial Ads App crashing on request #557

Open
zoobibackups opened this issue Mar 8, 2021 · 1 comment
Open

AdMobInterstitial Ads App crashing on request #557

zoobibackups opened this issue Mar 8, 2021 · 1 comment

Comments

@zoobibackups
Copy link

zoobibackups commented Mar 8, 2021

I have an issue that after the interstitial ad is closed and I request for a new ad then the app is crashing. the app is crashing randomly. Here is my function

    AdMobInterstitial.showAd()
            .catch(error => {});
    
            AdMobInterstitial.addEventListener('adClosed', () => {
                AdMobInterstitial.requestAd().catch(error => {
                })
            })

I have opened debug the project in the console and have the following error.

_requestAdResolve(nil);

with the error codes are the following.

self	RNAdMobInterstitial *	0x600000207de0	0x0000600000207de0
ad	GADInterstitial *	0x600000a07a30	0x0000600000a07a30
hasListeners	BOOL	YES	true
_requestAdResolve	RCTPromiseResolveBlock	(null

I am using google Admob SDK
pod 'Google-Mobile-Ads-SDK', '7.69.0'
Screenshot 2021-03-08 at 11 14 43 AM

@mursang
Copy link

mursang commented Mar 31, 2022

Were you able to find any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants