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

feat: Upgrade native sdk 4.5.0 #2087

Merged
merged 18 commits into from
Dec 10, 2024
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
46 changes: 33 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.0", "3.x"]
version: ["3.7.0"]
runs-on: ubuntu-latest
timeout-minutes: 120
env:
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
fail-fast: false
matrix:
version: ["3.7.0", "3.16"]
runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 120
env:
TEST_APP_ID: ${{ secrets.MY_APP_ID }}
Expand All @@ -136,17 +136,37 @@ jobs:
cache: true
- uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 14 Pro Max'
model: 'iPhone 15'
- run: bash ci/run_flutter_integration_test_ios.sh
- name: Get ios crash logs
if: always()
run: |
sleep 30

mkdir logs-ios

CRASH_DIR="${HOME}/Library/Logs/DiagnosticReports/"
OUTPUT_CRASH_DIR=./logs-ios/crash
mkdir -p ${OUTPUT_CRASH_DIR}

# Copy all files
cp -RP $CRASH_DIR* $OUTPUT_CRASH_DIR

- name: Upload ios logs
uses: actions/upload-artifact@v4
if: always()
with:
name: logs-ios-${{ matrix.version }}
path: logs-ios/*

integration_test_macos:
name: Run Flutter macOS Integration Tests
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
fail-fast: false
matrix:
version: ["3.7.0", "3.x"]
runs-on: macos-12
version: ["3.7.0"]
runs-on: macos-latest
timeout-minutes: 120
env:
TEST_APP_ID: ${{ secrets.MY_APP_ID }}
Expand Down Expand Up @@ -191,7 +211,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.0", "3.x"]
version: ["3.7.0"]
runs-on: windows-2019
timeout-minutes: 120
env:
Expand Down Expand Up @@ -246,7 +266,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.12", "3.x"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
version: ["3.7.12"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -269,7 +289,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.12", "3.x"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
version: ["3.7.12"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
Expand All @@ -293,8 +313,8 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.0", "3.x"]
runs-on: macos-12
version: ["3.7.0"]
runs-on: macos-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -339,7 +359,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.0", "3.x"]
version: ["3.7.0"]
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
Expand Down Expand Up @@ -457,7 +477,7 @@ jobs:
--iris-ios-cdn-url=${IRIS_CDN_URL_IOS}
- uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 14 Pro Max'
model: 'iPhone 15'
- run: bash ci/rendering_test_ios.sh

- uses: actions/upload-artifact@v3
Expand All @@ -472,7 +492,7 @@ jobs:
strategy:
matrix:
version: ['3.x']
runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 120
env:
TEST_APP_ID: ${{ secrets.MY_APP_ID }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/integration-test-iris-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
version: ['2.10.5', '3.0.0']
runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 120
env:
TEST_APP_ID: ${{ secrets.MY_APP_ID }}
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
strategy:
matrix:
version: ['2.10.5', '3.0.0']
runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 120
env:
TEST_APP_ID: ${{ secrets.MY_APP_ID }}
Expand All @@ -85,9 +85,9 @@ jobs:
with:
flutter-version: ${{ matrix.version }}
cache: true
- uses: futureware-tech/simulator-action@v1
- uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 13 Pro Max'
model: 'iPhone 15'
- name: Checkout hoe
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
strategy:
matrix:
version: ['2.10.5', '3.0.0']
runs-on: macos-12
runs-on: macos-latest
timeout-minutes: 120
env:
TEST_APP_ID: ${{ secrets.MY_APP_ID }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Download the `iris_web`(see the link below) artifact and include it as a `<scrip
</body>
</html>
```
Download: https://download.agora.io/sdk/release/iris-web-rtc_n440_w4220_0.8.0.js
Download: https://download.agora.io/sdk/release/iris-web-rtc_n450_w4220_0.8.6.js

**For Testing Purposes**

Expand All @@ -101,7 +101,7 @@ You can directly depend on the Agora CDN for testing purposes:
...
<body>
...
<script src="https://download.agora.io/sdk/release/iris-web-rtc_n440_w4220_0.8.0.js"></script>
<script src="https://download.agora.io/sdk/release/iris-web-rtc_n450_w4220_0.8.6.js"></script>
</body>
</html>
```
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ dependencies {
if (isDev(project)) {
api fileTree(dir: "libs", include: ["*.jar"])
} else {
api 'io.agora.rtc:iris-rtc:4.3.2-build.1'
api 'io.agora.rtc:full-sdk:4.3.2'
api 'io.agora.rtc:full-screen-sharing:4.3.2'
api 'io.agora.rtc:iris-rtc:4.5.0-build.1'
api 'io.agora.rtc:agora-special-full:4.5.0.1'
api 'io.agora.rtc:full-screen-sharing:4.5.0.1'
}
}

Expand Down
Loading
Loading