tirtc-react-native 2.4.0-alpha.4 → 2.4.0
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/README.md +4 -4
- package/TiRtcReactNative.podspec +1 -1
- package/android/build.gradle +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
npm install tirtc-react-native
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
The package ships ESM JavaScript, TypeScript declarations, Codegen specs, Android native wrapper code and iOS native wrapper code. RTC and CloudStorage use the same native Runtime delivery but keep separate initialization and resource lifecycles. The package requires React Native `>=0.80.0`, Android `com.tange.ai:tirtc:2.4.0
|
|
9
|
+
The package ships ESM JavaScript, TypeScript declarations, Codegen specs, Android native wrapper code and iOS native wrapper code. RTC and CloudStorage use the same native Runtime delivery but keep separate initialization and resource lifecycles. The package requires React Native `>=0.80.0`, Android `com.tange.ai:tirtc:2.4.0`, and iOS `TiRTC` `2.4.0` with iOS minimum `15.1`.
|
|
10
10
|
|
|
11
11
|
The iOS package supports arm64 devices and Apple Silicon iOS Simulator. Simulator validation covers build, launch, connection, downlink audio, and downlink video; capture and iOS behavioral qualification remain real-device gates.
|
|
12
12
|
|
|
13
|
-
Version `2.4.0
|
|
13
|
+
Version `2.4.0` is the stable React Native release aligned with the TiRTC 2.4.0 Android and Darwin SDKs.
|
|
14
14
|
|
|
15
15
|
## Imports
|
|
16
16
|
|
|
@@ -139,7 +139,7 @@ Constructors create native owner identities, so outputs and inputs can attach to
|
|
|
139
139
|
|
|
140
140
|
## Release
|
|
141
141
|
|
|
142
|
-
Version `2.4.0
|
|
142
|
+
Version `2.4.0` is the current stable React Native package for TiRTC and Ti Cloud Storage. It supports React Native New Architecture apps on Android and iOS and pins Android `com.tange.ai:tirtc:2.4.0` and iOS `TiRTC` `2.4.0`.
|
|
143
143
|
|
|
144
144
|
## License
|
|
145
145
|
|
|
@@ -159,7 +159,7 @@ The external application sample is published under `react-native/` in
|
|
|
159
159
|
`tirtc-api-samples`. The owner-local projection and recovery entry is:
|
|
160
160
|
|
|
161
161
|
```sh
|
|
162
|
-
./scripts/publish_api_samples.sh --version 2.4.0
|
|
162
|
+
./scripts/publish_api_samples.sh --version 2.4.0
|
|
163
163
|
```
|
|
164
164
|
|
|
165
165
|
Use `--no-push` for a complete local projection/build rehearsal without writing
|
package/TiRtcReactNative.podspec
CHANGED
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.source = { :git => 'https://gitlab.tange-ai.com/tirtc-nexus/tirtc.git', :tag => s.version.to_s }
|
|
14
14
|
s.source_files = 'ios/**/*.{h,m,mm,swift}'
|
|
15
15
|
s.dependency 'React-Core'
|
|
16
|
-
s.dependency 'TiRTC', '2.4.0
|
|
16
|
+
s.dependency 'TiRTC', '2.4.0'
|
|
17
17
|
|
|
18
18
|
if respond_to?(:install_modules_dependencies, true)
|
|
19
19
|
install_modules_dependencies(s)
|
package/android/build.gradle
CHANGED
|
@@ -29,7 +29,7 @@ repositories {
|
|
|
29
29
|
|
|
30
30
|
dependencies {
|
|
31
31
|
implementation "com.facebook.react:react-android"
|
|
32
|
-
implementation "com.tange.ai:tirtc:${safeExtGet("tirtcAndroidVersion", "2.4.0
|
|
32
|
+
implementation "com.tange.ai:tirtc:${safeExtGet("tirtcAndroidVersion", "2.4.0")}"
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
def safeExtGet(prop, fallback) {
|