THEOplayer / react-native-theoplayer

A React Native THEOplayerView component
https://theoplayer.github.io/react-native-theoplayer/
MIT License
64 stars 21 forks source link

Library not compatible with react-native-tvos@0.74.1-0 #324

Closed Veryyapeee closed 4 months ago

Veryyapeee commented 4 months ago

Steps to reproduce:

  1. Launch example application
  2. Upgrade react-native version to react-native-tvos@0.74.1-0
  3. Android application is not launching
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/lighthouse/Desktop/theotest/react-native-theoplayer/example/node_modules/@react-native-community/slider/android/src/oldarch/java/com/reactnativecommunity/slider/ReactSliderManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/Users/lighthouse/Desktop/theotest/react-native-theoplayer/example/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RNSVGRenderableManager.java:11: warning: [removal] StandardCharsets in com.facebook.react.common has been deprecated and marked for removal
import static com.facebook.react.common.StandardCharsets.UTF_8; ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
e: file:///Users/lighthouse/Desktop/theotest/react-native-theoplayer/android/src/main/java/com/theoplayer/PlayerEventEmitter.kt:10:44 Cannot access 'ReactEventEmitter': it is package-private in 'com.facebook.react.uimanager.events'
e: file:///Users/lighthouse/Desktop/theotest/react-native-theoplayer/android/src/main/java/com/theoplayer/PlayerEventEmitter.kt:159:29 Cannot access 'ReactEventEmitter': it is package-private in 'com.facebook.react.uimanager.events'
e: file:///Users/lighthouse/Desktop/theotest/react-native-theoplayer/android/src/main/java/com/theoplayer/PlayerEventEmitter.kt:177:20 Cannot access 'ReactEventEmitter': it is package-private in 'com.facebook.react.uimanager.events'
e: file:///Users/lighthouse/Desktop/theotest/react-native-theoplayer/android/src/main/java/com/theoplayer/PlayerEventEmitter.kt:618:18 Cannot access 'ReactEventEmitter': it is package-private in 'com.facebook.react.uimanager.events' FAILURE: Build failed with an exception. * What went wrong:

Output log attached

ceyhun-o commented 4 months ago

Hi @Veryyapeee,

Thank you for reaching out.

There is an already merged PR to add support for the latest RN: https://github.com/THEOplayer/react-native-theoplayer/pull/323.

Once a new release is out you will be able to use this version.

Veryyapeee commented 4 months ago

Hi @Veryyapeee,

Thank you for reaching out.

There is an already merged PR to add support for the latest RN: #323.

Once a new release is out you will be able to use this version.

Awesome, thanks! Closing an issue