When using opentok-react-native@2.31.2, the Android build fails with 4 duplicate class errors.
Error
Compilation failed; see the compiler output below.
/node_modules/opentok-react-native/android/generated/java/com/facebook/react/viewmanagers/OTRNSubscriberManagerDelegate.java:18:
error: duplicate class: com.facebook.react.viewmanagers.OTRNSubscriberManagerDelegate
/node_modules/opentok-react-native/android/generated/java/com/facebook/react/viewmanagers/OTRNPublisherManagerInterface.java:16:
error: duplicate class: com.facebook.react.viewmanagers.OTRNPublisherManagerInterface
/node_modules/opentok-react-native/android/generated/java/com/facebook/react/viewmanagers/OTRNSubscriberManagerInterface.java:16:
error: duplicate class: com.facebook.react.viewmanagers.OTRNSubscriberManagerInterface
/node_modules/opentok-react-native/android/generated/java/com/facebook/react/viewmanagers/OTRNPublisherManagerDelegate.java:18:
error: duplicate class: com.facebook.react.viewmanagers.OTRNPublisherManagerDelegate
4 errors
Environment
|
Version |
opentok-react-native |
2.31.2 (broken) / 2.31.1 (works) |
react-native |
0.83.1 (I also tried with v0.84.1) |
react |
19.2.0 |
| Platform |
Android |
| OS |
macOS |
Workaround
Downgrading to 2.31.1 resolves this particular issue
When using opentok-react-native@2.31.2, the Android build fails with 4 duplicate class errors.
Error
Environment
opentok-react-nativereact-nativereactWorkaround
Downgrading to
2.31.1resolves this particular issue