Skip to content

Native Ad loading twice on Android if new architecture is enabled #441

Open
@christianrank

Description

@christianrank

MAX Module Version

13.2.0

React Native Version

0.77.1

Device/Platform Info

Tested on Pixel 9 Pro XL Emulator / Android API 36 and Samsung A14

Current Behavior

With newArchEnabled=true, when loading a native ad, it is refreshing one time by itself (you see one ad for a short time and then another ad shows). onAdLoaded is also called twice.

With newArchEnabled=false, this does not happen.

This also does not happen on iOS.

Expected Behavior

It should load the ad only once also with the new arch enabled.

How to Reproduce

Set newArchEnabled=true and load a native ad.

I could not test it in the example app because I get build errors with newArchEnabled=true. The RN version of the example app might be too old.

Reproducible in the demo app?

Not Tested

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions