From 5646ff8e5a6db938f2b382bfd088fa080a0b7073 Mon Sep 17 00:00:00 2001 From: chaimPaneth Date: Mon, 10 Jul 2023 12:14:04 +0300 Subject: [PATCH 1/2] remove faulty code --- android/build.gradle | 2 -- .../src/main/java/com/appgoalz/rnjwplayer/RNJWPlayerModule.java | 1 - 2 files changed, 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 1eebff4f..9b66c854 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -80,7 +80,5 @@ dependencies { implementation 'androidx.recyclerview:recyclerview:1.3.0' implementation 'androidx.mediarouter:mediarouter:1.4.0' implementation 'androidx.media:media:1.6.0' - - implementation project(':react-native-android-media-browser') } diff --git a/android/src/main/java/com/appgoalz/rnjwplayer/RNJWPlayerModule.java b/android/src/main/java/com/appgoalz/rnjwplayer/RNJWPlayerModule.java index f1209780..d2893fd2 100644 --- a/android/src/main/java/com/appgoalz/rnjwplayer/RNJWPlayerModule.java +++ b/android/src/main/java/com/appgoalz/rnjwplayer/RNJWPlayerModule.java @@ -65,7 +65,6 @@ public void execute (NativeViewHierarchyManager nvhm) { .stretching(oldConfig.getStretching()) .uiConfig(oldConfig.getUiConfig()) .playlist(createPlaylist(playlistItems)) - .sharingConfig(oldConfig.getSharingConfig()) .allowCrossProtocolRedirects(oldConfig.getAllowCrossProtocolRedirects()) .preload(oldConfig.getPreload()) .useTextureView(oldConfig.useTextureView()) From d60b24676e5d3ec181e6e40d9154335118a1e7fb Mon Sep 17 00:00:00 2001 From: chaimPaneth Date: Mon, 10 Jul 2023 12:14:59 +0300 Subject: [PATCH 2/2] up lib --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bd1c7c80..c27353b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-jw-media-player", - "version": "0.2.36", + "version": "0.2.37", "description": "React-native Android/iOS plugin for JWPlayer SDK (https://www.jwplayer.com/)", "main": "index.js", "types": "./index.d.ts",