This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit agora_rtc_ng: 6.0.0 (#1)
* Initial commit agora_rtc_ng: 6.0.0
- Loading branch information
1 parent
0c26ed5
commit e7d6c84
Showing
433 changed files
with
69,139 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,204 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
branches: | ||
- main | ||
|
||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
flutter_codestyle_check: | ||
name: Flutter codestyle/analyze check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: axel-op/dart-package-analyzer@v3 | ||
id: analysis | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Check scores | ||
env: | ||
TOTAL: ${{ steps.analysis.outputs.total }} | ||
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }} | ||
run: | | ||
if (( $TOTAL < 110 )) | ||
then | ||
echo Pub Score too low. | ||
exit 1 | ||
fi | ||
integration_test_android: | ||
name: Run Flutter Android Integration Tests | ||
needs: flutter_codestyle_check | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0'] | ||
runs-on: macos-11 | ||
timeout-minutes: 60 | ||
env: | ||
TEST_APP_ID: ${{ secrets.MY_APP_ID }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '11' | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
- name: run flutter android integration tests | ||
uses: reactivecircus/android-emulator-runner@v2.21.0 | ||
with: | ||
api-level: 31 | ||
arch: x86_64 | ||
profile: Nexus 6 | ||
script: bash ci/run_flutter_integration_test_android.sh | ||
|
||
integration_test_ios: | ||
name: Run Flutter iOS Integration Tests | ||
needs: flutter_codestyle_check | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0'] | ||
runs-on: macos-11 | ||
timeout-minutes: 60 | ||
env: | ||
TEST_APP_ID: ${{ secrets.MY_APP_ID }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
- uses: futureware-tech/simulator-action@v1 | ||
with: | ||
model: 'iPhone 13 Pro Max' | ||
- run: bash ci/run_flutter_integration_test_ios.sh | ||
|
||
integration_test_macos: | ||
name: Run Flutter macOS Integration Tests | ||
needs: flutter_codestyle_check | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0'] | ||
runs-on: macos-11 | ||
timeout-minutes: 60 | ||
env: | ||
TEST_APP_ID: ${{ secrets.MY_APP_ID }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
- run: flutter config --enable-macos-desktop | ||
- run: bash ci/run_flutter_macos_integration_test.sh | ||
|
||
integration_test_windows: | ||
name: Run Flutter Windows Integration Tests | ||
needs: flutter_codestyle_check | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0'] | ||
runs-on: windows-2019 | ||
timeout-minutes: 60 | ||
env: | ||
TEST_APP_ID: ${{ secrets.MY_APP_ID }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
- run: flutter config --enable-windows-desktop | ||
- run: bash ci/run_flutter_windows_integration_test.sh | ||
|
||
# unittest_android: | ||
# name: Run Android Unit Test | ||
# needs: flutter_codestyle_check | ||
# runs-on: ubuntu-latest | ||
# timeout-minutes: 60 | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - uses: actions/setup-java@v1 | ||
# with: | ||
# java-version: '11' | ||
# - uses: subosito/flutter-action@v1 | ||
# with: | ||
# flutter-version: '2.10.5' | ||
# - run: flutter pub get | ||
# - run: bash ci/run_android_test.sh | ||
|
||
# unittest_ios: | ||
# name: Run iOS Unit Test | ||
# needs: flutter_codestyle_check | ||
# runs-on: macos-11 | ||
# timeout-minutes: 60 | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - uses: subosito/flutter-action@v1 | ||
# with: | ||
# flutter-version: '2.10.5' | ||
# - run: flutter pub get | ||
# - run: bash ci/run_ios_test.sh | ||
|
||
build_android_windows: | ||
name: Build Android on Windows | ||
needs: flutter_codestyle_check | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0'] | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '11' | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
- run: flutter pub get | ||
- name: Run flutter build apk | ||
run: flutter build apk | ||
working-directory: example | ||
|
||
build_android_ubuntu: | ||
name: Build Android on Ubuntu | ||
needs: flutter_codestyle_check | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '11' | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
- run: flutter pub get | ||
- name: Run flutter build apk | ||
run: flutter build apk | ||
working-directory: example | ||
|
||
build_ios: | ||
name: Build iOS | ||
needs: flutter_codestyle_check | ||
strategy: | ||
matrix: | ||
version: ['2.10.5', '3.0.0'] | ||
runs-on: macos-11 | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
- run: flutter pub get | ||
- name: Run flutter build ios --no-codesign | ||
run: flutter build ios --no-codesign | ||
working-directory: example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Borrow from https://github.com/flutter/flutter/blob/master/.github/workflows/no-response.yaml | ||
name: No Response | ||
|
||
# Both `issue_comment` and `scheduled` event types are required for this Action | ||
# to work properly. | ||
on: | ||
issue_comment: | ||
types: [created] | ||
schedule: | ||
# Schedule for five minutes after the hour, every hour | ||
- cron: '5 * * * *' | ||
|
||
# By specifying the access of one of the scopes, all of those that are not | ||
# specified are set to 'none'. | ||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
noResponse: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository == 'AgoraIO-Community/agora_rtc_ng_flutter' }} | ||
steps: | ||
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09 | ||
with: | ||
token: ${{ github.token }} | ||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable | ||
closeComment: > | ||
Without additional information, we are unfortunately not sure how to | ||
resolve this issue. We are therefore reluctantly going to close this | ||
bug for now. | ||
If you find this problem please file a new issue with the same description, | ||
what happens, logs and the output. All system setups | ||
can be slightly different so it's always better to open new issues and reference | ||
the related ones. | ||
Thanks for your contribution. | ||
# Number of days of inactivity before an issue is closed for lack of response. | ||
daysUntilClose: 21 | ||
# Label requiring a response. | ||
responseRequiredLabel: "waiting for customer response" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# The .vscode folder contains launch configuration and tasks you configure in | ||
# VS Code which you may wish to be included in version control, so this line | ||
# is commented out by default. | ||
.vscode/ | ||
|
||
# Flutter/Dart/Pub related | ||
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. | ||
/pubspec.lock | ||
**/doc/api/ | ||
.dart_tool/ | ||
.packages | ||
build/ | ||
third_party/ | ||
|
||
**/flutter/ephemeral/* | ||
**/generated_plugin_registrant.cc | ||
**/generated_plugin_registrant.h | ||
**/generated_plugins.cmake | ||
**/GeneratedPluginRegistrant.swift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This file tracks properties of this Flutter project. | ||
# Used by Flutter tool to assess capabilities and perform upgrades etc. | ||
# | ||
# This file should be version controlled. | ||
|
||
version: | ||
revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
channel: stable | ||
|
||
project_type: plugin | ||
|
||
# Tracks metadata for the flutter migrate command | ||
migration: | ||
platforms: | ||
- platform: root | ||
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
- platform: android | ||
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
- platform: ios | ||
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
- platform: macos | ||
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
- platform: web | ||
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
- platform: windows | ||
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 | ||
|
||
# User provided section | ||
|
||
# List of Local paths (relative to this file) that should be | ||
# ignored by the migrate tool. | ||
# | ||
# Files that are not part of the templates will be ignored by default. | ||
unmanaged_files: | ||
- 'lib/main.dart' | ||
- 'ios/Runner.xcodeproj/project.pbxproj' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
integration_test_app/ | ||
tool/ |
Oops, something went wrong.