tirtc-react-native 2.2.0 → 2.3.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 +13 -3
- package/TiRtcReactNative.podspec +1 -1
- package/android/build.gradle +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
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. It requires React Native `>=0.80.0`, Android `com.tange.ai:tirtc:2.
|
|
9
|
+
The package ships ESM JavaScript, TypeScript declarations, Codegen specs, Android native wrapper code and iOS native wrapper code. It requires React Native `>=0.80.0`, Android `com.tange.ai:tirtc:2.3.0`, and iOS `TiRTC` `2.3.0` with iOS minimum `15.1`.
|
|
10
10
|
|
|
11
|
-
Version `2.
|
|
11
|
+
Version `2.3.0` is a stable React Native release aligned with the TiRTC 2.3.0 Android and Darwin SDKs.
|
|
12
12
|
|
|
13
13
|
## Imports
|
|
14
14
|
|
|
@@ -123,7 +123,7 @@ Constructors create native owner identities, so outputs and inputs can attach to
|
|
|
123
123
|
|
|
124
124
|
## Release
|
|
125
125
|
|
|
126
|
-
Version `2.
|
|
126
|
+
Version `2.3.0` is the current React Native package for TiRTC client media output and talkback. It supports React Native New Architecture apps on Android and iOS and pins Android `com.tange.ai:tirtc:2.3.0` and iOS `TiRTC` `2.3.0`.
|
|
127
127
|
|
|
128
128
|
## License
|
|
129
129
|
|
|
@@ -138,3 +138,13 @@ npm run typecheck
|
|
|
138
138
|
npm run build
|
|
139
139
|
npm run codegen:check
|
|
140
140
|
```
|
|
141
|
+
|
|
142
|
+
The external application sample is published under `react-native/` in
|
|
143
|
+
`tirtc-api-samples`. The owner-local projection and recovery entry is:
|
|
144
|
+
|
|
145
|
+
```sh
|
|
146
|
+
./scripts/publish_api_samples.sh --version 2.3.0
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Use `--no-push` for a complete local projection/build rehearsal without writing
|
|
150
|
+
the public repository.
|
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.
|
|
16
|
+
s.dependency 'TiRTC', '2.3.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.
|
|
32
|
+
implementation "com.tange.ai:tirtc:${safeExtGet("tirtcAndroidVersion", "2.3.0")}"
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
def safeExtGet(prop, fallback) {
|