facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
117.22k stars 24.1k forks source link

Exception bridge module null does not conform to RCTBridgeModule was dispatchViewManagerCommand Error after Upgrading to react native from 0.71.16 to 0.72 #42893

Closed amir-ibrahim closed 4 months ago

amir-ibrahim commented 5 months ago

Old Version

0.71.16

New Version

0.72.0 or 0.72.10

Description

i faced this error after Upgrading from react native 0.71.16 to 0.72 Exception bridge module null does not conform to RCTBridgeModule was dispatchViewManagerCommand not target UIManager with params ( 85, reset, ()))

please see the video.

https://github.com/facebook/react-native/assets/41516271/eaea07ed-b4cd-4335-ae58-c8bb6091947e

Steps to reproduce

Upgrading from react native 0.71.16 to 0.72

Affected Platforms

Runtime - Android, Runtime - iOS

Output of npx react-native info

warn Package react-native-appsflyer contains invalid configuration: "dependency.platforms.ios.podspecPath" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
  OS: macOS 14.2.1
  CPU: (8) arm64 Apple M1 Pro
  Memory: 1.12 GB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.10.0
    path: ~/.nvm/versions/node/v20.10.0/bin/node
  Yarn:
    version: 4.0.2
    path: ~/.nvm/versions/node/v20.10.0/bin/yarn
  npm:
    version: 10.4.0
    path: ~/.nvm/versions/node/v20.10.0/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.14.3
    path: /Users/amir/.rubies/ruby-3.3.0/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK:
    API Levels:
      - "28"
      - "29"
      - "30"
      - "31"
      - "32"
      - "33"
      - "34"
    Build Tools:
      - 28.0.3
      - 29.0.3
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 32.0.0
      - 32.1.0
      - 33.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-28 | Google ARM64-V8a Play ARM 64 v8a
      - android-30 | Intel x86_64 Atom
      - android-30 | Google APIs Intel x86 Atom
      - android-30 | Google Play Intel x86 Atom
      - android-31 | Intel x86_64 Atom
      - android-31 | Google APIs ARM 64 v8a
      - android-32 | Google APIs ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.11090377
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 3.3.0
    path: /Users/amir/.rubies/ruby-3.3.0/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.10
    wanted: 0.72.10
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

Reproducer

Upgrading from react native 0.71.16 to 0.72

Screenshots and Videos

No response

github-actions[bot] commented 5 months ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
amir-ibrahim commented 5 months ago

does anyone have a clue here?

amir-ibrahim commented 4 months ago

thank god i managed to solve this issue if anyone wondering it was a problem with compatibility with lottie-react-native & lottie-ios libraries versions