Skip to content

[🐛] Bug Report Title - requiresMainQueueSetup warning in RNGoogleMobileAdsNativeModule #723

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

Open
1 task done
superflav opened this issue Mar 18, 2025 · 1 comment
Open
1 task done
Labels
help wanted Extra attention is needed

Comments

@superflav
Copy link

What happened?

I am receiving the following requiresMainQueueSetup warning in RNGoogleMobileAdsNativeModule when running my app in iOS. Everything seems to be behaving correctly, as I believe that things are defaulted to a working state behind the scenes. However, I see that similar warnings to this were addressed a few weeks before RNGoogleMobileAdsNativeModule was added in, so I'm wondering if the same can't be applied to RNGoogleMobileAdsNativeModule as well.

See commit: fix: warning requiresMainQueueSetup

Image

Platforms

Only on iOS

React Native Info

info Fetching system and libraries information...
System:
  OS: macOS 14.7.3
  CPU: (10) arm64 Apple M1 Pro
  Memory: 119.58 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.14.0
    path: /private/var/folders/xn/40l4bqw57nl6v4xpcj3bp7yw0000gn/T/xfs-ac12877a/node
  Yarn:
    version: 3.6.4
    path: /private/var/folders/xn/40l4bqw57nl6v4xpcj3bp7yw0000gn/T/xfs-ac12877a/yarn
  npm:
    version: 11.1.0
    path: ~/.nvm/versions/node/v22.14.0/bin/npm
  Watchman:
    version: 2025.02.17.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK:
    API Levels:
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 30.0.3
      - 34.0.0
      - 35.0.0
    System Images:
      - android-34 | Google APIs ARM 64 v8a
      - android-34 | Google Play ARM 64 v8a
      - android-35 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12700392
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /Users/someguy/.sdkman/candidates/java/current/bin/javac
  Ruby:
    version: 3.2.3
    path: /Users/someguy/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.11
    wanted: 0.73.11
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Are your using Typescript?

  • My project is using Typescript

package.json

N/A

app.json

N/A

ios/Podfile

android/build.gradle

android/app/build.gradle

android/settings.gradle

AndroidManifest.xml

@superflav superflav added the help wanted Extra attention is needed label Mar 18, 2025
@dylancom
Copy link
Collaborator

Feel free to submit a PR. I encourage you to upgrade react-native and start using the new arch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants