Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
2c4ccb9
Output project
Apr 2, 2025
be101d5
Modify the script
Apr 2, 2025
4b93cb5
Add a test version
Apr 2, 2025
2025e7c
add log
Apr 2, 2025
4a54815
Grammatical errors
Apr 2, 2025
ef96018
add log
Apr 2, 2025
26fcab3
test ci
Apr 2, 2025
e4f1d2c
test ci
Apr 2, 2025
9d92202
[Android]test ci.
Apr 16, 2025
ea84254
[Android] Change repository mirror source to default.
Apr 17, 2025
8c7cdc5
[Android]test ci.
Apr 17, 2025
ffd21e6
modify node label
Apr 23, 2025
1c916f9
modify script
Apr 23, 2025
dab5271
export env
Apr 23, 2025
71e7be1
Modify ci script
Apr 23, 2025
da9af3e
Modify mac ci script
Apr 23, 2025
9230451
Merge branch 'dev/ci-save-project' into dev/example-ci
Apr 23, 2025
d9d124d
[Android] update ci
Apr 24, 2025
2a6f32d
Merge branch 'main' into dev/android_ci
Apr 24, 2025
e8ea844
Compress APIExample
Apr 24, 2025
988f5b6
Rename the variable name
Apr 24, 2025
62e89a0
[Android] ci config env.
Apr 24, 2025
0b4a2f9
[Android] Update ci.
Apr 24, 2025
947b1c1
Modify script
Apr 24, 2025
615813c
[Android]Update ci.
Apr 24, 2025
e08dc93
test ci
Apr 24, 2025
864d38d
Delete the code which is not necessary
Apr 24, 2025
cdaebd2
Add log code
Apr 24, 2025
d1bd547
Test ci
Apr 24, 2025
e0c67aa
Add log
Apr 24, 2025
2d86bc5
App build number to zip name
Apr 24, 2025
b15b018
Modify mac script
Apr 24, 2025
daa25e1
Add log
Apr 24, 2025
5e8d5a2
Modify mac ci script
Apr 24, 2025
85ed6d9
Fix issues
Apr 24, 2025
646a4da
Fix issues
Apr 24, 2025
22b7d55
Modify script
Apr 24, 2025
4af2d84
Merge branch 'main' into dev/example-ci
Apr 24, 2025
e82ac44
Modify the SDK version number
Apr 24, 2025
4c7b3c0
Save scheme item
Apr 24, 2025
af3d9a1
Fix
Apr 24, 2025
3831607
Fix issues
Apr 24, 2025
9255086
[Android] ci test.
Apr 25, 2025
1d23d7d
Merge branch 'main' into dev/android_ci
Apr 25, 2025
82c0682
[Android] ci.
Apr 25, 2025
bcd7a7c
[Android] Update ci.
Apr 25, 2025
08be537
[Android]update ci.
Apr 25, 2025
f37314c
Merge pull request #452 from AgoraIO/dev/example-ci
Smaug-77 Apr 27, 2025
a60ef28
Merge pull request #454 from AgoraIO/dev/android_ci
Smaug-77 Apr 27, 2025
28ec413
Update ci groovy.
Apr 27, 2025
f6f98c6
remove global file path
Apr 27, 2025
457458e
[Android] Switch to aliyun cloud mirror source.
Apr 27, 2025
3778b2c
[Android] Update vendors gradle.
May 7, 2025
040c660
[Android] Update beauty api.
May 9, 2025
d5664cf
Merge branch 'main' into dev/4.6.0
May 26, 2025
f8b6e73
[Android] Add agora beauty2.0
May 26, 2025
9a5db8e
[Android] Update agora beauty 2.0.
May 27, 2025
8899c32
Agora beauty api
May 29, 2025
c034c85
Merge branch 'dev/4.6.0' of https://github.com/Shengwang-Community/AP…
May 29, 2025
5839ef5
agora beauty api for oc
May 29, 2025
c7af928
[Android] add 460 feature: agora beauty2.0, mulitpath, simulcast.
May 29, 2025
c9da630
[Android] Update simulcast
May 30, 2025
511f701
[Android] Update agora beauty 2.0
May 30, 2025
57cba64
[Android] Update agora beaut 2.0.
Jun 3, 2025
700dbef
[Android]Update gitignore.
Jun 5, 2025
62e6b48
update gitee sync
Jun 5, 2025
f558cfe
update ci
Jun 5, 2025
cc62185
Resolve conflicts
Jun 5, 2025
4139786
update ci
Jun 5, 2025
db93f55
update ci
Jun 5, 2025
aebf0b5
[FEAT] add scene multi path
Jun 5, 2025
b5a2d22
Merge branch 'dev/4.6.0' of github.com:Shengwang-Community/API-Exampl…
Jun 5, 2025
16373f4
update Android ci.
Jun 6, 2025
1d8a668
Agora beauty for Mac
Jun 7, 2025
b6f23e2
Merge branch 'dev/4.6.0' of https://github.com/Shengwang-Community/AP…
Jun 7, 2025
f4df364
Agora beauty
Jun 7, 2025
8cfa4c6
Bug fix
Jun 9, 2025
2bd92bf
[FEAT] 4.6.0 iOS
Jun 9, 2025
1cd74cf
no message
Jun 9, 2025
3f609e5
Merge branch 'dev/4.6.0' of github.com:Shengwang-Community/API-Exampl…
Jun 9, 2025
939ef4d
[FEAT] iOS SDK 4.6.0
Jun 11, 2025
3d41887
[FIX] update 4.6.0 code
Jun 11, 2025
43fdf3f
[FIX] 4.6.0 swiftUI
Jun 12, 2025
4594668
Merge branch 'main' into dev/4.6.0
Jun 16, 2025
eebe99e
[FIX] swiftUI bug fix
Jun 18, 2025
c2503d3
[FIX] mac simulcast switch
Jun 20, 2025
0823281
[Android] Remove cdn streaming, NMS-26635.
Jun 20, 2025
c8f8a3a
Merge branches 'dev/4.6.0' and 'dev/4.6.0' of github.com:Shengwang-Co…
Jun 20, 2025
bfa655f
[Android] Fixbugs LowLightEnhanceOptions. NMS-26695
Jun 20, 2025
a64fb7d
[Android] Fixbugs call test.
Jun 20, 2025
8035743
[FIX] multi path fix ios
Jun 23, 2025
5af08de
Merge branch 'dev/4.6.0' of github.com:Shengwang-Community/API-Exampl…
Jun 23, 2025
6fd8429
[FIX] remove fusion cdn
Jun 23, 2025
5542087
[FIX] update ci face capture licence logic
Jun 24, 2025
69a7d92
bug fix : delete make up in video process scene
Jun 24, 2025
a046d64
[FIX] custom render rotation
Jun 24, 2025
e9d8ced
Merge branch 'dev/4.6.0' of github.com:Shengwang-Community/API-Exampl…
Jun 24, 2025
0ac60f0
[FIX] ci sdk download
Jun 24, 2025
28ba7d8
[FIX] common update ios
Jun 24, 2025
5e39a26
[Android] Update .h file. fixs NMS-26670.
Jun 24, 2025
8479936
[FIX] update unzip sdk ci
Jun 24, 2025
78577c8
Merge branch 'dev/4.6.0' of github.com:Shengwang-Community/API-Exampl…
Jun 24, 2025
9c4f3c3
[FIX] common update
Jun 25, 2025
c1d5002
[FIX] update mac ci
Jun 25, 2025
4927b52
[Android] Update .h file.
Jun 25, 2025
827867a
[Android]video enhancement remove makeup.
Jun 25, 2025
bbde7b8
[FIX] ios sync global
Jun 25, 2025
475160f
Merge branch 'dev/4.6.0' of github.com:Shengwang-Community/API-Exampl…
Jun 25, 2025
1a49d49
[Android]Update case: Send Data Stream.
Jun 25, 2025
09ee281
[FIX] NMS-26713 NMS-26700
Jun 26, 2025
4197dc8
[FIX] NMS-26713
Jun 26, 2025
ebffa50
[FEAT] windows ci update
Jun 27, 2025
f4ae074
[Android] Fixs NMS-26845.
Jul 16, 2025
bed01b4
[feat]4.6.0 windows feat
HugoChaan Aug 1, 2025
b74a959
[FIX] windows ci
Aug 1, 2025
c8996ea
[Android]Update ktv url.
Aug 8, 2025
ec1a435
[FIX] rtmp user offline toast
Aug 8, 2025
7869bcf
Merge branch 'dev/4.6.0' of github.com:Shengwang-Community/API-Exampl…
Aug 8, 2025
dd64180
[Android]Fixs NMS-27353.
Aug 11, 2025
dd89076
[Android]Fixs NMS-26695.
Aug 11, 2025
43deb61
[Android]Fixs NMS-27370.
Aug 11, 2025
df2cdaa
[Android]Update local video transcoding.
Aug 12, 2025
a520d75
[Android]LocalVideoTranscoding Code rollback.
Aug 12, 2025
690641a
Merge pull request #4 from Shengwang-Community/dev/4.6.0-win
HugoChaan Aug 14, 2025
68d172a
update windows ci
HugoChaan Aug 15, 2025
8642db7
[Android]Update sdk version 4.6.0.
Aug 15, 2025
38f0ae1
[Android]Update rtc maven
Aug 18, 2025
8288cfc
[Android]Update gradle.
Aug 18, 2025
e72e508
[FEAT] sdk verion 4.6.0
Aug 18, 2025
957e4eb
Merge branches 'dev/4.6.0' and 'dev/4.6.0' of github.com:Shengwang-Co…
Aug 18, 2025
0024632
bugfix
Aug 18, 2025
8537ef1
Bugfix
Aug 18, 2025
a68803e
bugfix
Aug 18, 2025
c5cd50a
bugfix
Aug 18, 2025
08b29ab
add log
Aug 18, 2025
9d6c2ac
Bugfix
Aug 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .cursorindexingignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Don't index SpecStory auto-save files, but allow explicit context inclusion via @ references
.specstory/**
2 changes: 1 addition & 1 deletion .github/ci/Jenkinsfile_bitbucket.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@Library('agora-build-pipeline-library') _

pipelineLoad(this, "ApiExample", "workflow", "", "", "api-examples")
pipelineLoad(this, "api_examples_shengwang", "workflow", "", "", "api-examples-shengwang")
5 changes: 2 additions & 3 deletions .github/ci/build/build_android.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import groovy.transform.Field
buildUtils = new agora.build.BuildUtils()

compileConfig = [
"sourceDir": "api-examples",
"docker": "hub.agoralab.co/server/apiexample_build_android:latest",
"sourceDir": "api-examples-shengwang",
"non-publish": [
"command": "./.github/ci/build/build_android.sh",
"extraArgs": "",
Expand Down Expand Up @@ -64,4 +63,4 @@ def doPublish(buildVariables) {
sh "rm -rf *.zip *.apk || true"
}

pipelineLoad(this, "ApiExample", "build", "android", "apiexample_linux")
pipelineLoad(this, "api_examples_shengwang", "build", "android", "RTC-Sample")
42 changes: 29 additions & 13 deletions .github/ci/build/build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# pr: output test.zip to workspace dir
# others: Rename the zip package name yourself, But need copy it to workspace dir
##################################
export PATH=$PATH:/opt/homebrew/bin

echo Package_Publish: $Package_Publish
echo is_tag_fetch: $is_tag_fetch
Expand All @@ -49,6 +50,8 @@ echo release_version: $release_version
echo short_version: $short_version
echo pwd: `pwd`
echo sdk_url: $sdk_url
echo android_direction: $android_direction

unzip_name=Agora_Native_SDK_for_Android_FULL_DEFAULT
zip_name=Agora_Native_SDK_for_Android_FULL_DEFAULT.zip
if [ -z "$sdk_url" ] || [ "$sdk_url" = "none" ]; then
Expand All @@ -63,33 +66,46 @@ else
curl -o $zip_name $sdk_url || exit 1
7za x ./$zip_name -y > log.txt

unzip_name=`ls -S -d */ | grep Agora | sed 's/\///g'`
# Support top-level directory name containing 'Agora' or 'Shengwang'
unzip_name=`ls -S -d */ | grep -E 'Agora|Shengwang' | head -n 1 | sed 's/\///g'`
if [ -z "$unzip_name" ]; then
echo "Error: Unzipped directory not found. The SDK package structure may be invalid or the top-level directory does not contain 'Agora' or 'Shengwang'"
exit 1
fi
echo unzip_name: $unzip_name

rm -rf ./$unzip_name/rtc/bin
rm -rf ./$unzip_name/rtc/demo
rm ./$unzip_name/rtc/commits
rm ./$unzip_name/rtc/package_size_report.txt
rm -f ./$unzip_name/.commits
rm -f ./$unzip_name/spec
rm -rf ./$unzip_name/pom
fi
mkdir -p ./$unzip_name/rtc/samples
cp -rf ./Android/${android_direction} ./$unzip_name/rtc/samples/API-Example || exit 1

mkdir -p ./$unzip_name/rtc/samples/${android_direction} || exit 1
rm -rf ./$unzip_name/rtc/samples/${android_direction}/*

if [ -d "./Android/${android_direction}" ]; then
cp -rf ./Android/${android_direction}/* ./$unzip_name/rtc/samples/${android_direction}/ || exit 1
else
echo "Error: Source directory ./Android/${android_direction} does not exist"
exit 1
fi

7za a -tzip result.zip -r $unzip_name > log.txt
mv result.zip $WORKSPACE/withAPIExample_${BUILD_NUMBER}_$zip_name

if [ $compress_apiexample = true ]; then
onlyCodeZipName=${android_direction}_onlyCode.zip
7za a -tzip $onlyCodeZipName -r ./$unzip_name/rtc/samples/${android_direction} >> log.txt
mv $onlyCodeZipName $WORKSPACE/APIExample_onlyCode_${BUILD_NUMBER}_$zip_name
fi

if [ $compile_project = true ]; then
# install android sdk
which java
java --version
source ~/.bashrc
export ANDROID_HOME=/usr/lib/android_sdk
echo ANDROID_HOME: $ANDROID_HOME
cd ./$unzip_name/rtc/samples/API-Example || exit 1
cd ./$unzip_name/rtc/samples/${android_direction} || exit 1
if [ -z "$sdk_url" ] || [ "$sdk_url" = "none" ]; then
./cloud_build.sh false || exit 1
else
./cloud_build.sh true || exit 1
fi
fi


4 changes: 2 additions & 2 deletions .github/ci/build/build_ios.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import groovy.transform.Field
buildUtils = new agora.build.BuildUtils()

compileConfig = [
"sourceDir": "api-examples",
"sourceDir": "api-examples-shengwang",
"non-publish": [
"command": "./.github/ci/build/build_ios.sh",
"extraArgs": "",
Expand Down Expand Up @@ -56,4 +56,4 @@ def doPublish(buildVariables) {
sh "rm -rf *.zip *.ipa || true"
}

pipelineLoad(this, "ApiExample", "build", "ios", "apiexample_mac")
pipelineLoad(this, "api_examples_shengwang", "build", "ios", "RTC-Sample")
32 changes: 30 additions & 2 deletions .github/ci/build/build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
# pr: output test.zip to workspace dir
# others: Rename the zip package name yourself, But need copy it to workspace dir
##################################
export PATH=$PATH:/opt/homebrew/bin

xcode_version=$(xcodebuild -version | grep Xcode | awk '{print $2}')
echo "Xcode Version: $xcode_version"
echo ios_direction: $ios_direction
Expand All @@ -61,7 +63,11 @@ export LANG=en_US.UTF-8
unzip_name=Agora_Native_SDK_for_iOS_FULL
zip_name=output.zip
sdk_url_flag=false
if [ -z "$sdk_url" ]; then
apiexample_cn_name=Shengwang_Native_SDK_for_iOS
apiexample_global_name=Agora_Native_SDK_for_iOS
cn_dir=CN

if [ -z "$sdk_url" -o "$sdk_url" = "none" ]; then
sdk_url_flag=false
echo "sdk_url is empty"
echo unzip_name: $unzip_name
Expand All @@ -74,7 +80,7 @@ else
echo zip_name: $zip_name
curl -o $zip_name $sdk_url || exit 1
7za x ./$zip_name -y > log.txt
unzip_name=`ls -S -d */ | grep Agora | sed 's/\///g'`
unzip_name=`ls -S -d */ | egrep 'Agora|Shengwang' | sed 's/\///g'`
echo unzip_name: $unzip_name
rm -rf ./$unzip_name/bin
rm -f ./$unzip_name/commits
Expand All @@ -99,6 +105,28 @@ echo "start move to"
echo $WORKSPACE/with${ios_direction}_${BUILD_NUMBER}_$zip_name
mv result.zip $WORKSPACE/with${ios_direction}_${BUILD_NUMBER}_$zip_name

if [ $compress_apiexample = true ]; then
sdk_version=$(grep "pod 'AgoraRtcEngine_iOS'" ./iOS/${ios_direction}/Podfile | sed -n "s/.*'\([0-9.]*\)'.*/\1/p")
echo "sdk_version: $sdk_version"

mkdir -p $cn_dir
cp -rf ./iOS/${ios_direction} $cn_dir/
cd $cn_dir/${ios_direction}
./cloud_project.sh || exit 1
cd -
echo "start compress api example"
7za a -tzip cn_result.zip $cn_dir
echo "complete compress api example"
echo "current path: `pwd`"
ls -al
cn_des_path=$WORKSPACE/${apiexample_cn_name}_${sdk_version}_${BUILD_NUMBER}_APIExample.zip
echo "cn_des_path: $cn_des_path"
echo "Moving cn_result.zip to $cn_des_path"
mv cn_result.zip $cn_des_path

ls -al $WORKSPACE/
fi

if [ $compile_project = true ]; then
cd ./$unzip_name/samples/${ios_direction}
./cloud_build.sh || exit 1
Expand Down
4 changes: 2 additions & 2 deletions .github/ci/build/build_mac.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import groovy.transform.Field
buildUtils = new agora.build.BuildUtils()

compileConfig = [
"sourceDir": "api-examples",
"sourceDir": "api-examples-shengwang",
"non-publish": [
"command": "./.github/ci/build/build_mac.sh",
"extraArgs": "",
Expand Down Expand Up @@ -50,4 +50,4 @@ def doPublish(buildVariables) {
sh "rm -rf *.zip || true"
}

pipelineLoad(this, "ApiExample", "build", "mac", "apiexample_mac")
pipelineLoad(this, "api_examples_shengwang", "build", "mac", "RTC-Sample")
46 changes: 40 additions & 6 deletions .github/ci/build/build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# pr: output test.zip to workspace dir
# others: Rename the zip package name yourself, But need copy it to workspace dir
##################################
export PATH=$PATH:/opt/homebrew/bin

echo compile_project:$compile_project
echo Package_Publish: $Package_Publish
Expand All @@ -59,6 +60,10 @@ export LANG=en_US.UTF-8
unzip_name=Agora_Native_SDK_for_iOS_FULL
zip_name=output.zip
sdk_url_flag=false
apiexample_cn_name=Shengwang_Native_SDK_for_Mac
apiexample_global_name=Agora_Native_SDK_for_Mac
cn_dir=CN
global_dir=Global

echo zip_name: $zip_name
if [ -z "$sdk_url" ]; then
Expand All @@ -74,7 +79,7 @@ else
echo unzip_name: $unzip_name
curl -o $zip_name $sdk_url || exit 1
7za x ./$zip_name -y > log.txt
unzip_name=`ls -S -d */ | grep Agora`
unzip_name=`ls -S -d */ | egrep 'Agora|Shengwang' | sed 's/\///g'`
echo unzip_name: $unzip_name

rm -rf ./$unzip_name/bin
Expand All @@ -92,13 +97,42 @@ else
fi

python3 ./.github/ci/build/modify_podfile.py ./$unzip_name/samples/APIExample/Podfile $sdk_url_flag
7za a -tzip result.zip -r $unzip_name
cp result.zip $WORKSPACE/withAPIExample_${BUILD_NUMBER}_$zip_name

if [ $compile_project = true ]; then
cd ./$unzip_name/samples/APIExample
./cloud_build.sh || exit 1
echo "start compress"
7za a -tzip result.zip -r $unzip_name > log.txt
echo "start move to"
echo $WORKSPACE/with${BUILD_NUMBER}_$zip_name
mv result.zip $WORKSPACE/with_${BUILD_NUMBER}_$zip_name

if [ $compress_apiexample = true ]; then
sdk_version=$(grep "pod 'ShengwangRtcEngine_macOS'" ./macOS/Podfile | sed -n "s/.*'\([0-9.]*\)'.*/\1/p")
echo "sdk_version: $sdk_version"

mkdir -p $cn_dir
echo "cn_dir: $cn_dir"
cp -rf ./macOS $cn_dir/
cd $cn_dir/macOS
echo pwd: `pwd`
ls -al
./cloud_project.sh || exit 1
cd -
echo "start compress api example"
7za a -tzip cn_result.zip $cn_dir
echo "complete compress api example"
echo "current path: `pwd`"
ls -al
cn_des_path=$WORKSPACE/${apiexample_cn_name}_${sdk_version}_${BUILD_NUMBER}_APIExample.zip
echo "cn_des_path: $cn_des_path"
echo "Moving cn_result.zip to $cn_des_path"
mv cn_result.zip $cn_des_path

ls -al $WORKSPACE/
fi

#if [ $compile_project = true ]; then
# cd ./$unzip_name/samples/APIExample
# ./cloud_build.sh || exit 1
# cd -
#fi


26 changes: 13 additions & 13 deletions .github/ci/build/build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ echo pwd: %cd%
echo sdk_url: %sdk_url%


set zip_name=Agora_Native_SDK_for_Windows_FULL_DEFAULT.zip
set zip_name=Shengwang_Native_SDK_for_Windows_FULL_DEFAULT.zip
if %compile_project% EQU false goto SKIP_DOWNLOAD
set zip_name=%sdk_url%
:LOOP
Expand All @@ -73,27 +73,27 @@ curl %sdk_url% -o %zip_name%
REM python %WORKSPACE%\\artifactory_utils.py --action=download_file --file=%sdk_url%
7z x ./%zip_name% -y
dir
rmdir /S /Q Agora_Native_SDK_for_Windows_FULL\demo
del /F /Q Agora_Native_SDK_for_Windows_FULL\commits
del /F /Q Agora_Native_SDK_for_Windows_FULL\package_size_report.txt
rmdir /S /Q Shengwang_Native_SDK_for_Windows_FULL\demo
del /F /Q Shengwang_Native_SDK_for_Windows_FULL\commits
del /F /Q Shengwang_Native_SDK_for_Windows_FULL\package_size_report.txt
:SKIP_DOWNLOAD


mkdir Agora_Native_SDK_for_Windows_FULL\samples
mkdir Agora_Native_SDK_for_Windows_FULL\samples\API-example
mkdir Shengwang_Native_SDK_for_Windows_FULL\samples
mkdir Shengwang_Native_SDK_for_Windows_FULL\samples\API-example
rmdir /S /Q windows\cicd
del /F /Q windows\APIExample\ci.py
xcopy /Y /E windows\APIExample Agora_Native_SDK_for_Windows_FULL\samples\API-example
xcopy /Y /E windows\README.md Agora_Native_SDK_for_Windows_FULL\samples\API-example
xcopy /Y /E windows\README.zh.md Agora_Native_SDK_for_Windows_FULL\samples\API-example
rmdir /S /Q Agora_Native_SDK_for_Windows_FULL\samples\API-example\APIExample\APIExample
dir Agora_Native_SDK_for_Windows_FULL\samples\API-example\APIExample
7z a -tzip result.zip -r Agora_Native_SDK_for_Windows_FULL
xcopy /Y /E windows\APIExample Shengwang_Native_SDK_for_Windows_FULL\samples\API-example
xcopy /Y /E windows\README.md Shengwang_Native_SDK_for_Windows_FULL\samples\API-example
xcopy /Y /E windows\README.zh.md Shengwang_Native_SDK_for_Windows_FULL\samples\API-example
rmdir /S /Q Shengwang_Native_SDK_for_Windows_FULL\samples\API-example\APIExample\APIExample
dir Shengwang_Native_SDK_for_Windows_FULL\samples\API-example\APIExample
7z a -tzip result.zip -r Shengwang_Native_SDK_for_Windows_FULL
copy result.zip %WORKSPACE%\\withAPIExample_%BUILD_NUMBER%_%zip_name%
del /F result.zip
del /F %WORKSPACE%\\%zip_name%

if %compile_project% EQU false goto FINAL
cd Agora_Native_SDK_for_Windows_FULL\samples\API-example
cd Shengwang_Native_SDK_for_Windows_FULL\samples\API-example
call cloud_build.bat
:FINAL
2 changes: 1 addition & 1 deletion .github/ci/build/build_windows.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ def doPublish(buildVariables) {
bat "del /f /Q *.zip"
}

pipelineLoad(this, "ApiExample", "build", "windows", "apiexample_windows")
pipelineLoad(this, "api_examples_shengwang", "build", "windows", "apiexample_windows")
6 changes: 6 additions & 0 deletions .github/ci/build/modify_ios_keycenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

def modfiy(path, isReset):
appId = os.environ.get('APP_ID')
faceCaptureLicense = os.environ.get('FACE_CAPTURE_LICENSE')
with open(path, 'r', encoding='utf-8') as file:
contents = []
for num, line in enumerate(file):
Expand All @@ -16,6 +17,11 @@ def modfiy(path, isReset):
line = "static let Certificate: String? = <#YOUR Certificate#>"
else:
line = 'static let Certificate: String? = nil'
elif "static let FaceCaptureLicense" in line:
if isReset:
line = "static let FaceCaptureLicense: String? = nil"
else:
line = f'static let FaceCaptureLicense: String? = "{faceCaptureLicense}"'
elif "static NSString * const APPID" in line:
if isReset:
line = "static NSString * const APPID = <#YOUR APPID#>"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitee-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Gitee sync repo
uses: xgfd3/hub-mirror-action@v1.4
with:
src: github/AgoraIO
src: github/Shengwang-Community
dst: gitee/agoraio-community
white_list: "API-Examples"
static_list: "API-Examples"
Expand Down
5 changes: 4 additions & 1 deletion .gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,8 @@ paths = [
'''.*\/zh-Hant\.lproj\/.*''',
'''.*\/zh\.lproj\/.*''',
'''iOS/Pods/.*''',
'''README\.md'''
'''.*\.bundle''',
'''README\.md''',
'''.*\.md''',
'''Android/.*/res/values(-zh)?/(strings|arrays)\.xml'''
]
2 changes: 2 additions & 0 deletions .specstory/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SpecStory explanation file
/.what-is-this.md
Loading