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

Fix app crash: AdMob Native Ad #516

Closed
OlenaPostindustria opened this issue Feb 4, 2022 · 1 comment
Closed

Fix app crash: AdMob Native Ad #516

OlenaPostindustria opened this issue Feb 4, 2022 · 1 comment
Milestone

Comments

@OlenaPostindustria
Copy link
Collaborator

To Reproduce
Steps to reproduce the behavior:

  1. Run Internal Test App.
  2. Choose Native and AdMob sections on the main page.
  3. Choose any item from the proposed list of examples.
  4. See app crash in PrebidAdMobNativeViewController with message: Thread 1: Precondition failed: NSArray element failed to match the Swift Array Element type. Expected GADNativeAdImage but found GADNativeAdImage.

Screenshots
image

@YuriyVelichkoPI YuriyVelichkoPI added this to the 1.14 milestone Feb 11, 2022
@YuriyVelichkoPI
Copy link
Contributor

We can't fix this error in a clean and reliable way.

In order to avoid it, publishers will have to integrate the adapters using the source code. In this case, objects will be created in the same bundle and will have the same type from the obj-c runtime perspective.

The respective warning will be added to the integration documentation.

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