Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade iris to 4.2.6-build.1 #733

Merged
merged 2 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading