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

[MANativeAdView nativeAdViewFromAd:withTemplate:] crash #221

Open
thiencq opened this issue May 9, 2023 · 5 comments
Open

[MANativeAdView nativeAdViewFromAd:withTemplate:] crash #221

thiencq opened this issue May 9, 2023 · 5 comments
Assignees
Labels
bug Something isn't working stale This isue has been inactive

Comments

@thiencq
Copy link

thiencq commented May 9, 2023

MAX SDK Version

11.9.0

Device/Platform Info

iOS 16.4.1

Current Behavior

App Crashes when load ad from Google Admob

Stack Trace
Last Exception Backtrace:
0 CoreFoundation 0x1c319ad94 __exceptionPreprocess + 164 (NSException.m:202)
1 libobjc.A.dylib 0x1bc24c3d0 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x1c3288300 +[NSException raise:format:] + 112 (NSException.m:0)
3 AppName 0x10096ea38 +[MANativeAdView nativeAdViewFromTemplate:adFormat:] + 604
4 AppName 0x10096df78 +[MANativeAdView nativeAdViewFromAd:withTemplate:] + 124
5 AppName 0x1010fe31c __60-[ALGoogleNativeAdViewDelegate adLoader:didReceiveNativeAd:]_block_invoke.82 + 132
6 AppName 0x1010fdec0 -[ALGoogleNativeAdViewDelegate adLoader:didReceiveNativeAd:] + 840
7 AppNameLoader 0x104d42bcc GAD_GADAdLoader_arm64_10_4_0 + 5892
8 AppNameLoader 0x104d420cc GAD_GADAdLoader_arm64_10_4_0 + 3076

Expected Behavior

MANativeAdView should not cause Crashes

How to Reproduce

Load a banner from Google Admob via Max Mediation

Additional Info

Last Exception Backtrace:
0 CoreFoundation 0x1c319ad94 __exceptionPreprocess + 164 (NSException.m:202)
1 libobjc.A.dylib 0x1bc24c3d0 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x1c3288300 +[NSException raise:format:] + 112 (NSException.m:0)
3 AppName 0x10096ea38 +[MANativeAdView nativeAdViewFromTemplate:adFormat:] + 604
4 AppName 0x10096df78 +[MANativeAdView nativeAdViewFromAd:withTemplate:] + 124
5 AppName 0x1010fe31c __60-[ALGoogleNativeAdViewDelegate adLoader:didReceiveNativeAd:]_block_invoke.82 + 132
6 AppName 0x1010fdec0 -[ALGoogleNativeAdViewDelegate adLoader:didReceiveNativeAd:] + 840
7 AppNameLoader 0x104d42bcc GAD_GADAdLoader_arm64_10_4_0 + 5892
8 AppNameLoader 0x104d420cc GAD_GADAdLoader_arm64_10_4_0 + 3076

@thiencq thiencq added the bug Something isn't working label May 9, 2023
@applovinAsh
Copy link
Contributor

applovinAsh commented May 9, 2023

Hi,

Can you provide the following so we can better identify the issue:

  • How frequently is this crash happening?
  • What AdMob SDK and Adapter version are you running?
  • Can you reproduce the issue in our demo app or provide a project where the crash occurs?

Thanks,
Ashley

@thiencq
Copy link
Author

thiencq commented May 10, 2023

Hi,

It always crash when loading Banner from Admob
I use Admob ver 10.4.0 and latest Adapter from AppLovin.
I use Carthage to setup Admob and use manual AppLovin SDK.

[AppLovinSdk] ERROR [ALMediationAdapterWrapper] Failed start loading [ALMediatedAdViewAd thirdPartyAdPlacementIdentifier=admobID, adUnitIdentifier=maxID, format=BANNER, networkName=Google AdMob] : Unsupported ad format: [MAAdFormat: BANNER]

Thanks.

@applovinAsh
Copy link
Contributor

applovinAsh commented May 10, 2023

Can you open a ticket with our support team here and provide verbose logs from the start of a session. You can see how to enable verbose logging here.

Also, please try to reproduce the issue in our demo app and provide it in the ticket as well.

@thiencq
Copy link
Author

thiencq commented May 11, 2023

Hi,

I tried to reproduce the issue with the Demo app, but it doesn't crash.
I tried to create new project, it doesn't crash too.

I will enable logging and create a ticket.

Thanks.

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale This isue has been inactive label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This isue has been inactive
Projects
None yet
Development

No branches or pull requests

2 participants