From c7c6e1446e8acc73178f858cc92454cc54f92977 Mon Sep 17 00:00:00 2001 From: Saurabh Chavan Date: Sun, 1 Nov 2026 13:51:14 +0530 Subject: [PATCH 1/2] fix: update video and track player packages --- ios/Podfile.lock | 26 +++++---------- package-lock.json | 32 +++---------------- package.json | 3 +- patches/react-native-track-player+4.1.2.patch | 28 ---------------- 4 files changed, 13 insertions(+), 76 deletions(-) delete mode 100644 patches/react-native-track-player+4.1.2.patch diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a154aef1d..5ad716ede 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1624,9 +1624,6 @@ PODS: - ReactCommon/turbomodule/core - ReactNativeDependencies - Yoga - - react-native-track-player (4.1.2): - - React-Core - - SwiftAudioEx (= 1.1.0) - react-native-vector-icons (12.3.0): - hermes-engine - RCTRequired @@ -1650,7 +1647,7 @@ PODS: - ReactNativeDependencies - Yoga - react-native-vector-icons-material-icons (12.4.1) - - react-native-video (6.19.2): + - react-native-video (6.19.3): - hermes-engine - RCTRequired - RCTTypeSafety @@ -1662,7 +1659,7 @@ PODS: - React-graphics - React-ImageManager - React-jsi - - react-native-video/Video (= 6.19.2) + - react-native-video/Video (= 6.19.3) - React-NativeModulesApple - React-RCTFabric - React-renderercss @@ -1673,7 +1670,7 @@ PODS: - ReactCommon/turbomodule/core - ReactNativeDependencies - Yoga - - react-native-video/Fabric (6.19.2): + - react-native-video/Fabric (6.19.3): - hermes-engine - RCTRequired - RCTTypeSafety @@ -1695,7 +1692,7 @@ PODS: - ReactCommon/turbomodule/core - ReactNativeDependencies - Yoga - - react-native-video/Video (6.19.2): + - react-native-video/Video (6.19.3): - hermes-engine - RCTRequired - RCTTypeSafety @@ -2581,7 +2578,6 @@ PODS: - libwebp (~> 1.0) - SDWebImage/Core (~> 5.17) - SSZipArchive (2.6.0) - - SwiftAudioEx (1.1.0) - Yoga (0.0.0) DEPENDENCIES: @@ -2632,7 +2628,6 @@ DEPENDENCIES: - react-native-image-picker (from `../node_modules/react-native-image-picker`) - react-native-pager-view (from `../node_modules/react-native-pager-view`) - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - - react-native-track-player (from `../node_modules/react-native-track-player`) - "react-native-vector-icons (from `../node_modules/@react-native-vector-icons/get-image`)" - "react-native-vector-icons-material-icons (from `../node_modules/@react-native-vector-icons/material-icons`)" - react-native-video (from `../node_modules/react-native-video`) @@ -2699,7 +2694,6 @@ SPEC REPOS: - SDWebImageSVGCoder - SDWebImageWebPCoder - SSZipArchive - - SwiftAudioEx EXTERNAL SOURCES: FBLazyVector: @@ -2793,8 +2787,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-pager-view" react-native-safe-area-context: :path: "../node_modules/react-native-safe-area-context" - react-native-track-player: - :path: "../node_modules/react-native-track-player" react-native-vector-icons: :path: "../node_modules/@react-native-vector-icons/get-image" react-native-vector-icons-material-icons: @@ -2902,7 +2894,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: FBLazyVector: e97c19a5a442429d1988f182a1940fb08df514da - hermes-engine: 69685c8bd68491a4ff7f075256f5b2dfab04de21 + hermes-engine: 9f047a8d62a87f7a7f334d038828120d6d9431a1 IQKeyboardManager: c8665b3396bd0b79402b4c573eac345a31c7d485 libavif: 84bbb62fb232c3018d6f1bab79beea87e35de7b7 libdav1d: 23581a4d8ec811ff171ed5e2e05cd27bad64c39f @@ -2918,7 +2910,7 @@ SPEC CHECKSUMS: React: 1ba7d364ade7d883a1ec055bfc3606f35fdee17b React-callinvoker: bc2a26f8d84fb01f003fc6de6c9337b64715f95b React-Core: 7840d3a80b43a95c5e80ef75146bd70925ebab0f - React-Core-prebuilt: 203358738dba539388b07a09a926858081125bc1 + React-Core-prebuilt: c88cc160126836765ce57bfb83a666293a6483cb React-CoreModules: 2eb010400b63b89e53a324ffb3c112e4c7c3ce42 React-cxxreact: a558e92199d26f145afa9e62c4233cf8e7950efe React-debug: 755200a6e7f5e6e0a40ff8d215493d43cce285fc @@ -2951,10 +2943,9 @@ SPEC CHECKSUMS: react-native-image-picker: 168d6972e50ea848defe4ac4c222faa9bc52aea0 react-native-pager-view: c8817c1d9f4643417e68f0b846c51214b2252eea react-native-safe-area-context: ae7587b95fb580d1800c5b0b2a7bd48c2868e67a - react-native-track-player: dd56f9948e03756a217c75e0a61aa04aab65b5a1 react-native-vector-icons: 8215b0e62bf79d3be628cf658ec23777f9bec53c react-native-vector-icons-material-icons: 2fe75632937d07937bfe8ca953e1b5d06eef3a1d - react-native-video: 293a1dfb84d6b79b5bf9dd33925931008e225d5a + react-native-video: ac17a0ae5b2754ce40902d7d79e580a5179ec6ff React-NativeModulesApple: 5ba0903927f6b8d335a091700e9fda143980f819 React-networking: 3a4b7f9ed2b2d1c0441beacb79674323a24bcca6 React-oscompat: ff26abf0ae3e3fdbe47b44224571e3fc7226a573 @@ -2988,7 +2979,7 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: e96e93b493d8d86eeaee3e590ba0be53f6abe46f ReactCodegen: 797de5178718324c6eba3327b07f9a423fbd5787 ReactCommon: 07572bf9e687c8a52fbe4a3641e9e3a1a477c78e - ReactNativeDependencies: 770e0777d2bd1891fd654bdbb3da9e9905a96394 + ReactNativeDependencies: 56614108b8a5c298c8b79bdae05983455d80cd19 RNBootSplash: 13b7612788960d0c5446e68489ac2509e506cfcd RNCAsyncStorage: 3a4f5e2777dae1688b781a487923a08569e27fe4 RNCPicker: c8a3584b74133464ee926224463fcc54dfdaebca @@ -3008,7 +2999,6 @@ SPEC CHECKSUMS: SDWebImageSVGCoder: 15a300a97ec1c8ac958f009c02220ac0402e936c SDWebImageWebPCoder: 0e06e365080397465cc73a7a9b472d8a3bd0f377 SSZipArchive: 8a6ee5677c8e304bebc109e39cf0da91ccef22ea - SwiftAudioEx: f6aa653770f3a0d3851edaf8d834a30aee4a7646 Yoga: c0b3f2c7e8d3e327e450223a2414ca3fa296b9a2 PODFILE CHECKSUM: 7a33012cce520784bb5b691549f5ed2af273b7e3 diff --git a/package-lock.json b/package-lock.json index 710bc996a..8a03e3057 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,8 +41,7 @@ "react-native-screens": "4.24.0", "react-native-svg": "15.15.4", "react-native-tab-view": "4.3.0", - "react-native-track-player": "4.1.2", - "react-native-video": "6.19.2", + "react-native-video": "6.19.3", "react-native-worklets": "0.8.3", "semver": "7.7.4" }, @@ -8301,33 +8300,10 @@ "react-native-pager-view": ">= 6.0.0" } }, - "node_modules/react-native-track-player": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/react-native-track-player/-/react-native-track-player-4.1.2.tgz", - "integrity": "sha512-cIgMlqVJx/95hirUWPRW8CHxiBFj9Rjl/voKHh2jF/2URYMTQyt76t/m2FKvjeYUW2doKv4QSCBIOUmtyDLtJw==", - "license": "Apache-2.0", - "funding": { - "url": "https://github.com/doublesymmetry/react-native-track-player?sponsor=1" - }, - "peerDependencies": { - "react": ">=16.8.6", - "react-native": ">=0.60.0-rc.2", - "react-native-windows": ">=0.63.0", - "shaka-player": "^4.7.9" - }, - "peerDependenciesMeta": { - "react-native-windows": { - "optional": true - }, - "shaka-player": { - "optional": true - } - } - }, "node_modules/react-native-video": { - "version": "6.19.2", - "resolved": "https://registry.npmjs.org/react-native-video/-/react-native-video-6.19.2.tgz", - "integrity": "sha512-gh5dBMGSHywKr8+p4azRXrFQgT+QTmS1tI4sz6kVRjSENORfsrGGLQzmyo/7S9m+ZOTLWQJ3h8ONaXxR4F2Fcw==", + "version": "6.19.3", + "resolved": "https://registry.npmjs.org/react-native-video/-/react-native-video-6.19.3.tgz", + "integrity": "sha512-hI0YhEH6NdkfbFfMoZTZizEmLIm13rLlMf6KyWlGSe0+6If7/gvhapR2j/BMKBEwmlAIZjU4A6ax4Qn7yssjLQ==", "license": "MIT", "peerDependencies": { "react": "*", diff --git a/package.json b/package.json index 61210ca66..2b6408719 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,7 @@ "@react-native-vector-icons/common": "12.4.2", "@react-native-vector-icons/get-image": "12.3.0", "@react-native-vector-icons/material-icons": "12.4.1", - "react-native-video": "6.19.2", - "react-native-track-player": "4.1.2", + "react-native-video": "6.19.3", "semver": "7.7.4" }, "devDependencies": { diff --git a/patches/react-native-track-player+4.1.2.patch b/patches/react-native-track-player+4.1.2.patch deleted file mode 100644 index 04e58aa58..000000000 --- a/patches/react-native-track-player+4.1.2.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt b/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt -index b2409a09939164c49c0f7a16bb6d3284e8eab8fb..699a6e4f4e2652eca69cd1d3a522c21971fee1b4 100644 ---- a/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt -+++ b/node_modules/react-native-track-player/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt -@@ -545,7 +545,7 @@ class MusicModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaM - if (verifyServiceBoundOrReject(callback)) return@launch - - if (index >= 0 && index < musicService.tracks.size) { -- callback.resolve(Arguments.fromBundle(musicService.tracks[index].originalItem)) -+ callback.resolve(musicService.tracks[index].originalItem?.let { Arguments.fromBundle(it) }) - } else { - callback.resolve(null) - } -@@ -584,9 +584,11 @@ class MusicModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaM - if (verifyServiceBoundOrReject(callback)) return@launch - callback.resolve( - if (musicService.tracks.isEmpty()) null -- else Arguments.fromBundle( -- musicService.tracks[musicService.getCurrentTrackIndex()].originalItem -- ) -+ else musicService.tracks[musicService.getCurrentTrackIndex()].originalItem?.let { -+ Arguments.fromBundle( -+ it -+ ) -+ } - ) - } - From 3c16fcc4c7822819bfaff71868f138b726befbf9 Mon Sep 17 00:00:00 2001 From: Saurabh Chavan Date: Wed, 4 Nov 2026 07:57:03 +0530 Subject: [PATCH 2/2] fix: changelog updated --- CHANGELOG.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d25d0cc5e..63c967d5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +- We excluded react-native-vision-camera-barcode-scanner from iOS. The Barcode Scanner widget only uses it on Android; on iOS it uses Apple's built-in scanner from react-native-vision-camera. +- This version of Native Template is required for the Barcode Scanner widget version 4.6.0 or above (Native Mobile Resources version 12.7.0 or above). +- We updated react-native-video from v6.19.2 to v6.19.3. +- We removed the unused react-native-track-player library and its patch. + ## [20.0.2] - 2026-10-28 - We fixed an issue on iOS where a deep link that cold started the app was not delivered to React Native, causing `Linking.getInitialURL()` to return `null`. - We removed some unused Android Permissions coming in from Manifest mergers. -- We excluded react-native-vision-camera-barcode-scanner from iOS. The Barcode Scanner widget only uses it on Android; on iOS it uses Apple's built-in scanner from react-native-vision-camera. -- This version of Native Template is required for the Barcode Scanner widget version 4.6.0 or above (Native Mobile Resources version 12.6.0 or above). - We fixed an issue on Android where the "Clear data" checkbox on the starting page of the Developer App was hidden behind the bottom navigation bar due to edge-to-edge. ## [19.1.6] - 2026-09-16