Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Minishlink/180e03aebd28b5071b40f75d1d90e73d to your computer and use it in GitHub Desktop.
Save Minishlink/180e03aebd28b5071b40f75d1d90e73d to your computer and use it in GitHub Desktop.
Patch for react-native-jw-media-player 0.1.46 and Android SDK 3.16 breaking change
diff --git a/node_modules/react-native-jw-media-player/android/build.gradle b/node_modules/react-native-jw-media-player/android/build.gradle
index 1db78a8..a0d8510 100644
--- a/node_modules/react-native-jw-media-player/android/build.gradle
+++ b/node_modules/react-native-jw-media-player/android/build.gradle
@@ -45,8 +45,9 @@ allprojects {
dependencies {
implementation 'com.facebook.react:react-native:+'
- implementation 'com.longtailvideo.jwplayer:jwplayer-core:+'
- implementation 'com.longtailvideo.jwplayer:jwplayer-common:+'
- implementation 'com.longtailvideo.jwplayer:jwplayer-ima:+'
+ // https://github.com/chaimPaneth/react-native-jw-media-player/issues/79
+ implementation 'com.longtailvideo.jwplayer:jwplayer-core:3.15.+'
+ implementation 'com.longtailvideo.jwplayer:jwplayer-common:3.15.+'
+ implementation 'com.longtailvideo.jwplayer:jwplayer-ima:3.15.+'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment