react-native-video: [BUG]: Duplicate interface definition for class 'RCTEventDispatcher'

Version

6.0.0

What platforms are you having the problem on?

iOS

Architecture

Old architecture

What happened?

I am experiencing the same issue than Or in other words, changing node_modules/react-native-video/ios/Video/RCTVideo-Bridging-Header.h to:

The issue started on version 6.0.0-rc0 and I use react-native 0.73.6 I cannot modify the framework linkage static in the Podfile as it conflict with other libraries (Firebase for ex).

The only working fix is patching react-native-video/ios/Video/RCTVideo-Bridging-Header.h by adding the following import : #import "RCTEventDispatcher.h"

Can you please integrate this import to the next version of react-native-video ?

Thanks !

Reproduction

repository link

Reproduction

Step to reproduce this bug are:

Install react-native-video v6.0.0 with react-native v0.73.6 and keep the same config has previously in the Podfile :

`pod 'react-native-video', :path => '../node_modules/react-native-video/react-native-video.podspec'`

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20

Most upvoted comments

Same issue here, on RN version 0.72.3.

image