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: Unsupported top level event type "topNative" dispatched #576

Merged
merged 1 commit into from
May 19, 2024

Conversation

ugurdalkiran
Copy link
Contributor

When I added a Banner ad to the screen with Bridgeless and Fabric enabled, I got an error like below.

Error: Unsupported top level event type "topNative" dispatched
Ekran Resmi 2024-05-14 14 35 11

The Solution

In node_modules/react-native/.../ReactFabric-dev.js file, when I got to the relevant place, I saw that there is no "topNative".

I saw that there is "topNativeEvent" similar to this.

Ekran Resmi 2024-05-14 15 31 59

Think react-native-google-mobile-ads is great? Please consider supporting the project with any of the below:

  • 👉 Star this repo on GitHub ⭐️
  • 👉 Follow Invertase on Twitter

@CLAassistant
Copy link

CLAassistant commented May 14, 2024

CLA assistant check
All committers have signed the CLA.

@ugurdalkiran ugurdalkiran changed the title Error: Unsupported top level event type "topNative" dispatched fix: Unsupported top level event type "topNative" dispatched May 14, 2024
@dylancom dylancom merged commit dcea9bf into invertase:main May 19, 2024
5 of 11 checks passed
@dylancom
Copy link
Collaborator

thanks!

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

Successfully merging this pull request may close these issues.

3 participants