Skip to content

Commit

Permalink
chore: upgrade iris to 4.2.6-build.1 (#733)
Browse files Browse the repository at this point in the history
* [AUTO] Update dependencies

* chore: wip

---------

Co-authored-by: LichKing-2234 <LichKing-2234@users.noreply.github.com>
  • Loading branch information
LichKing-2234 and LichKing-2234 authored Nov 9, 2023
1 parent fe2bb4e commit dc89819
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Generate ts interface
run: |
yarn
yarn build:ts-interface
- name: Generate comments
uses: ./.github/actions/doc
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
api 'io.agora.rtc:full-sdk:4.2.3'
implementation 'io.agora.rtc:full-screen-sharing:4.2.3'
implementation 'io.agora.rtc:iris-rtc:4.2.3-build.4'
api 'io.agora.rtc:agora-full-preview:4.2.6-build.1'
implementation 'io.agora.rtc:full-screen-sharing-special:4.2.6-build.1'
implementation 'io.agora.rtc:iris-rtc:4.2.6-build.1'
}

if (isNewArchitectureEnabled()) {
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ target 'AgoraRtcNgExample' do
end

target 'ScreenShare' do
pod 'AgoraRtcEngine_iOS', '4.2.3'
pod 'AgoraRtcEngine_iOS_Preview', '4.2.6-build.1'
end
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "bob build",
"release": "release-it",
"doc": "typedoc src --out ./docs --exclude \"example/**\""
"doc": "typedoc src --out ./docs --exclude \"example/**\"",
"build:ts-interface": "ts-interface-builder src/*.ts -o src/ti/"
},
"keywords": [
"react-native",
Expand Down
4 changes: 2 additions & 2 deletions react-native-agora.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Pod::Spec.new do |s|
end
end

s.dependency 'AgoraRtcEngine_iOS', '4.2.3'
s.dependency 'AgoraIrisRTC_iOS', '4.2.3-build.4'
s.dependency 'AgoraRtcEngine_iOS_Preview', '4.2.6-build.1'
s.dependency 'AgoraIrisRTC_iOS', '4.2.6-build.1'
s.libraries = 'stdc++'
s.framework = 'ReplayKit'
end
14 changes: 5 additions & 9 deletions scripts/bootstrap.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,11 @@ module.exports = {
}

if (
child_process.spawnSync(
'yarn',
['ts-interface-builder', 'src/*.ts', '-o', 'src/ti/'],
{
stdio: 'inherit',
encoding: 'utf-8',
shell: true,
}
).status !== 0
child_process.spawnSync('yarn', ['build:ts-interface'], {
stdio: 'inherit',
encoding: 'utf-8',
shell: true,
}).status !== 0
) {
throw new Error('Failed to run ts-interface-builder');
}
Expand Down

0 comments on commit dc89819

Please sign in to comment.