-
-
Notifications
You must be signed in to change notification settings - Fork 969
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
Conflicts and crashes react-native-video on android #1694
Comments
it looks similar to #287 |
Same issue for me |
also looks similar to the problem I have with |
@KrisLau but v6.0.0-alpha.1 is using exoplayer 2.17.1, as with duplicated exoplayers, i don't think rntp has exoplayer as a dependency |
@KrisLau Yes rntp uses 2.18.1 just confirmed from 'com.github.DoubleSymmetry:KotlinAudio' |
@KrisLau is correct. We're using All I can say is, for those having this issue, wait until |
If anyone comes across this, 6.0.0-alpha.3 worked for me |
@karltaylor Yup that's the version with the fix! You'll also need to upgrade your expo to expo@47.0.0-alpha.1 i believe according to expo/expo#18937 (comment) |
Describe the Bug
It looks like when this package is used with react-native-video, all the Exoplayer classes are wiped out upon running.
You get this error
Steps To Reproduce
How can someone else reproduce this bug?
Create a new project and add the 2 packages, react-native-video and react-native-track-player.
When you remove react-native-track-player, react-native-video works, but when you run both, the video player crashes with the above error.
PS: react-native-track-player can run with or without react-native-video, this only effects the video.
Code To Reproduce
Please provide a simple code example that allows others to replicate the bug.
Link to demo repo
Environment Info:
Paste the results of
npx react-native info
Paste the exact
react-native-track-player
version you are usingReal device? Or simulator?
What OS are you running?
How I can Help
What can you do to help resolve this?
Have you investigated the underlying JS or Swift/Android code causing this bug?
found this in react-native-track-player/android/proguard-rules.txt, removed it but it didn't work
-dontwarn com.google.android.exoplayer2.**
Can you create a Pull Request with a fix?
The text was updated successfully, but these errors were encountered: