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
Fatal Exception when expo-av
used with react-native-track-player
#18937
Comments
react-native-track-player
createAsync
when expo-av
used with react-native-track-player
createAsync
when expo-av
used with react-native-track-player
expo-av
used with react-native-track-player
doublesymmetry/react-native-track-player#1678 suggests that it might be a version mismatch for exoplayer. I think exoplayer might need to be updated to 2.18.1. EDIT: Ok yeah it's definitely a exoplayer version mismatch: https://stackoverflow.com/questions/68496246/is-it-possible-to-have-two-different-versions-of-a-same-library-coexist |
@KrisLau you could add the following gradle expression to configurations.all {
resolutionStrategy {
force 'com.google.android.exoplayer:exoplayer:2.18.1', 'com.google.android.exoplayer:extension-okhttp:2.18.1'
}
} |
@Kudo Doing so crashes the app because
So the only way for the packages to work together seems to be for expo-av to update to 2.18.1 unless there's a way to have two versions of exoplayer but from what i could tell from searching online that is not possible. Error with the
|
@KrisLau oh that's bad. i'm accepting this issue and plan to upgrade exoplayer. thanks for reporting this. |
Thank you for filing this issue! |
@Kudo No thank you for all the work you guys put in, I really appreciate it! Is there a rough estimate for how long the upgrade will take? I'm just trying to decide if I should downgrade track player in the meantime haha but I'm not sure if their older version support react native > 0.69 |
Same exact problem here. Is there an ETA on this ? no rush or stress, just trying to decide a few things based on its timing. |
So now do we have to wait until the expo-av gets published? |
@fbotalla yeah basically but I'm not sure which version it is releasing in and when. you could also just use patch-package in the meantime. It'll be released in v13 looks like: |
@Kudo Just out of curiosity is there a way to see the estimated date for a version to be released? |
@KrisLau It's out for beta testing at the moment. expo-av@13.0.0-beta.1 I tested it and it worked as expected.. so that's great news! |
@fbotalla Oh that's good! i did a |
because it's for sdk 47 which will be open to beta 😅 |
as expo sdk 47 is released, i'm closing this issue. thanks for everyone to report this. |
Summary
I get a fatal exception when I call
createAsync
whenexpo-av
used withreact-native-track-player
. It crashes without throwing an error so I only got the log on Android Studio logcatWhat platform(s) does this occur on?
Android
Environment
Minimal reproducible example
https://github.com/KrisLau/reproExoplayer
The text was updated successfully, but these errors were encountered: