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

Interstitial crash #35

Closed
kingbaggot opened this issue Aug 30, 2020 · 2 comments
Closed

Interstitial crash #35

kingbaggot opened this issue Aug 30, 2020 · 2 comments

Comments

@kingbaggot
Copy link

kingbaggot commented Aug 30, 2020

Hi Pozirk- thanks for the ane - I have banners working fine now.

Unfortunately, the interstitial crashes the app on showInterstitial() - even with a testId.

It calls cacheInterstitial() successfully though, which is good.

Has anyone else found a fix for this ? I'll try it on some other devices in the meantime - currently the crash bug is on a pixel2

thanks !

@luc4smoreira
Copy link
Contributor

Hi @kingbaggot

What is the error message? Can you post the stack trace?

@kingbaggot
Copy link
Author

kingbaggot commented Sep 2, 2020

hi @luc4smoreira - thanks for the response.

I have found the 'cause' - I set a listener for when the user stops using the app that forces it to deactivate

NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE , handleDeactivate, false, 0, true);
which calls
NativeApplication.nativeApplication.exit();

this is triggered by the interstial being shown - so it wasn't a crash at all !

I'll close this issue now - but hope it helps anyone else that comes across this.

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