react-native-audio-browser 0.2.0-next.80 → 0.2.0-next.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AudioBrowser.podspec
CHANGED
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.platforms = { :ios => "16.0", :visionos => 1.0 }
|
|
14
14
|
s.source = { :git => "https://github.com/puckey/react-native-audio-browser.git", :tag => "#{s.version}" }
|
|
15
15
|
|
|
16
|
-
s.swift_version = '6.
|
|
16
|
+
s.swift_version = '6.3'
|
|
17
17
|
|
|
18
18
|
s.source_files = [
|
|
19
19
|
# Implementation (Swift)
|
package/README.md
CHANGED
|
@@ -35,7 +35,9 @@ Use the same tree in your app UI, or keep it focused on CarPlay and Android Auto
|
|
|
35
35
|
|
|
36
36
|
## Requirements
|
|
37
37
|
|
|
38
|
-
React Native with the **New Architecture** (Fabric + TurboModules), [`react-native-nitro-modules`](https://nitro.margelo.com) as a peer dependency, and on web [`shaka-player`](https://github.com/shaka-project/shaka-player) as an optional peer dependency. The minimum React Native, React, iOS, Android, nitro and shaka-player versions are listed in [Getting Started](https://audiobrowser.dev/guide/getting-started#installation).
|
|
38
|
+
React Native with the **New Architecture** (Fabric + TurboModules), [`react-native-nitro-modules`](https://nitro.margelo.com) as a peer dependency, and on web [`shaka-player`](https://github.com/shaka-project/shaka-player) as an optional peer dependency. The minimum React Native, React, iOS, Android, nitro and shaka-player versions are listed in [Getting Started](https://audiobrowser.dev/guide/getting-started#installation). iOS builds need Xcode 26.4 or later (Swift 6.3).
|
|
39
|
+
|
|
40
|
+
Built with Xcode 27, an app whose `react-native-nitro-modules` lacks the fix of [margelo/nitro#1824](https://github.com/margelo/nitro/pull/1824) does not launch on iOS below 18 (dyld: `Symbol not found: std::exception_ptr::__from_native_exception_pointer`). The fix is in 0.37.2; where 0.37.2 does not build ([margelo/nitro#2052](https://github.com/margelo/nitro/issues/2052)), patch the two header hunks of #1824 into the version you use.
|
|
39
41
|
|
|
40
42
|
## Installation
|
|
41
43
|
|
|
@@ -3,6 +3,10 @@ import Foundation
|
|
|
3
3
|
import NitroModules
|
|
4
4
|
#endif
|
|
5
5
|
|
|
6
|
+
#if !compiler(>=6.3)
|
|
7
|
+
#error("react-native-audio-browser needs Swift 6.3 or later (Xcode 26.4 or later): Swift 6.2 compiles this library's nonisolated(nonsending) closures into code that crashes on iOS below 18 (swiftlang/swift#86829)")
|
|
8
|
+
#endif
|
|
9
|
+
|
|
6
10
|
/// The fields every request config kind (request, browse, media, artwork) has.
|
|
7
11
|
protocol RequestFieldValues<Method> {
|
|
8
12
|
associatedtype Method
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-audio-browser",
|
|
3
|
-
"version": "0.2.0-next.
|
|
3
|
+
"version": "0.2.0-next.81",
|
|
4
4
|
"description": "react-native-audio-browser is a react native package built with Nitro",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
88
88
|
"del-cli": "^5.1.0",
|
|
89
89
|
"happy-dom": "^20.11.2",
|
|
90
|
-
"nitrogen": "0.37.
|
|
90
|
+
"nitrogen": "0.37.2",
|
|
91
91
|
"oxfmt": "^0.27.0",
|
|
92
92
|
"oxlint": "^1.42.0",
|
|
93
93
|
"oxlint-tsgolint": "^0.11.2",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"react-native": "0.88.0",
|
|
97
97
|
"react-native-builder-bob": "^0.37.0",
|
|
98
98
|
"react-native-monorepo-config": "^0.3.1",
|
|
99
|
-
"react-native-nitro-modules": "0.37.
|
|
99
|
+
"react-native-nitro-modules": "0.37.2",
|
|
100
100
|
"semantic-release": "^25.0.3",
|
|
101
101
|
"shaka-player": "^4.15.4",
|
|
102
102
|
"typescript": "^7.0.2",
|
|
@@ -6,7 +6,7 @@ description: 'Install react-native-audio-browser and its react-native-nitro-modu
|
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
|
-
The library requires **React Native 0.76 or newer** (with the New Architecture enabled) and React 18.2+, and runs on iOS 16+ and Android API 24+. `react-native-nitro-modules` 0.35 or later is a required peer dependency — install it alongside:
|
|
9
|
+
The library requires **React Native 0.76 or newer** (with the New Architecture enabled) and React 18.2+, and runs on iOS 16+ and Android API 24+. Building for iOS needs Xcode 26.4 or later (Swift 6.3): Swift 6.2 has a bug that makes the library crash on iOS below 18, so the library refuses to compile with it. `react-native-nitro-modules` 0.35 or later is a required peer dependency — install it alongside:
|
|
10
10
|
|
|
11
11
|
::: code-group
|
|
12
12
|
|