-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: support 4.1.0 iris * feat: support 4.1.0 native * chore: optimize api type * chore: add `getMusicContentCenter` * fix: release throw exception & use `NativeEventEmitter` instead of `DeviceEventEmitter` #538 #539 * chore: fix iOS compile error * chore: fix NativeEventEmitter error * feat: add `getPlaybackDefaultDevice` and `getRecordingDefaultDevice` * chore: add `IAgoraMusicContentCenterExtension.ts` * chore: fix `EventEmitter` * chore: optimize * chore: optimize * chore: optimize * chore: optimize * chore: optimize * chore: optimize * chore: optimize * chore: optimize * build: update to `[email protected]` * build: optimize * build: optimize * build: optimize * build: optimize * build: optimize * docs: optimize * build: fix error while npm install * build: migrate to maven & cocoapods * fix: `onEvent` conflict #554 * docs: update en doc link * build: optimize `.gitignore` * build: optimize npm `files` * chore: release 4.1.0-rc.1 * [AUTO] Update doc (#559) Co-authored-by: Nero-Hu <[email protected]> * chore: optimize `addListener` * test: add `detox` * build: update native & iris dependencies Co-authored-by: Littlegnal <[email protected]> Co-authored-by: Nero-Hu <[email protected]>
- Loading branch information
1 parent
e020e8d
commit 35df959
Showing
187 changed files
with
16,845 additions
and
10,704 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
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,83 @@ | ||
/** @type {Detox.DetoxConfig} */ | ||
module.exports = { | ||
testRunner: { | ||
args: { | ||
'$0': 'jest', | ||
config: 'e2e/jest.config.js' | ||
}, | ||
jest: { | ||
setupTimeout: 120000 | ||
} | ||
}, | ||
apps: { | ||
'ios.debug': { | ||
type: 'ios.app', | ||
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/YOUR_APP.app', | ||
build: 'xcodebuild -workspace ios/YOUR_APP.xcworkspace -scheme YOUR_APP -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build' | ||
}, | ||
'ios.release': { | ||
type: 'ios.app', | ||
binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/YOUR_APP.app', | ||
build: 'xcodebuild -workspace ios/YOUR_APP.xcworkspace -scheme YOUR_APP -configuration Release -sdk iphonesimulator -derivedDataPath ios/build' | ||
}, | ||
'android.debug': { | ||
type: 'android.apk', | ||
binaryPath: 'example/android/app/build/outputs/apk/debug/app-debug.apk', | ||
build: 'cd example/android ; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -', | ||
reversePorts: [ | ||
8081 | ||
] | ||
}, | ||
'android.release': { | ||
type: 'android.apk', | ||
binaryPath: 'example/android/app/build/outputs/apk/release/app-release.apk', | ||
build: 'cd example/android ; ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -' | ||
} | ||
}, | ||
devices: { | ||
simulator: { | ||
type: 'ios.simulator', | ||
device: { | ||
type: 'iPhone 12' | ||
} | ||
}, | ||
attached: { | ||
type: 'android.attached', | ||
device: { | ||
adbName: '.*' | ||
} | ||
}, | ||
emulator: { | ||
type: 'android.emulator', | ||
device: { | ||
avdName: 'Resizable_Experimental_API_33' | ||
} | ||
} | ||
}, | ||
configurations: { | ||
'ios.sim.debug': { | ||
device: 'simulator', | ||
app: 'ios.debug' | ||
}, | ||
'ios.sim.release': { | ||
device: 'simulator', | ||
app: 'ios.release' | ||
}, | ||
'android.att.debug': { | ||
device: 'attached', | ||
app: 'android.debug' | ||
}, | ||
'android.att.release': { | ||
device: 'attached', | ||
app: 'android.release' | ||
}, | ||
'android.emu.debug': { | ||
device: 'emulator', | ||
app: 'android.debug' | ||
}, | ||
'android.emu.release': { | ||
device: 'emulator', | ||
app: 'android.release' | ||
} | ||
} | ||
}; |
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,37 @@ | ||
#!/bin/sh | ||
|
||
if [ "$LEFTHOOK" = "0" ]; then | ||
exit 0 | ||
fi | ||
|
||
if [ -t 1 ] ; then | ||
exec < /dev/tty ; # <- enables interactive shell | ||
fi | ||
|
||
dir="$(git rev-parse --show-toplevel)" | ||
|
||
call_lefthook() | ||
{ | ||
if lefthook -h >/dev/null 2>&1 | ||
then | ||
eval lefthook $@ | ||
elif test -f "$dir/node_modules/@arkweid/lefthook/bin/lefthook" | ||
then | ||
eval "$dir/node_modules/@arkweid/lefthook/bin/lefthook $@" | ||
elif bundle exec lefthook -h >/dev/null 2>&1 | ||
then | ||
bundle exec lefthook $@ | ||
elif npx @arkweid/lefthook -h >/dev/null 2>&1 | ||
then | ||
npx @arkweid/lefthook $@ | ||
elif yarn lefthook -h >/dev/null 2>&1 | ||
then | ||
yarn lefthook $@ | ||
else | ||
echo "Can't find lefthook in PATH" | ||
fi | ||
} | ||
|
||
|
||
|
||
call_lefthook "run commit-msg $@" |
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,37 @@ | ||
#!/bin/sh | ||
|
||
if [ "$LEFTHOOK" = "0" ]; then | ||
exit 0 | ||
fi | ||
|
||
if [ -t 1 ] ; then | ||
exec < /dev/tty ; # <- enables interactive shell | ||
fi | ||
|
||
dir="$(git rev-parse --show-toplevel)" | ||
|
||
call_lefthook() | ||
{ | ||
if lefthook -h >/dev/null 2>&1 | ||
then | ||
eval lefthook $@ | ||
elif test -f "$dir/node_modules/@arkweid/lefthook/bin/lefthook" | ||
then | ||
eval "$dir/node_modules/@arkweid/lefthook/bin/lefthook $@" | ||
elif bundle exec lefthook -h >/dev/null 2>&1 | ||
then | ||
bundle exec lefthook $@ | ||
elif npx @arkweid/lefthook -h >/dev/null 2>&1 | ||
then | ||
npx @arkweid/lefthook $@ | ||
elif yarn lefthook -h >/dev/null 2>&1 | ||
then | ||
yarn lefthook $@ | ||
else | ||
echo "Can't find lefthook in PATH" | ||
fi | ||
} | ||
|
||
|
||
|
||
call_lefthook "run pre-commit $@" |
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 @@ | ||
#!/bin/sh | ||
|
||
if [ "$LEFTHOOK" = "0" ]; then | ||
exit 0 | ||
fi | ||
|
||
if [ -t 1 ] ; then | ||
exec < /dev/tty ; # <- enables interactive shell | ||
fi | ||
|
||
dir="$(git rev-parse --show-toplevel)" | ||
|
||
call_lefthook() | ||
{ | ||
if lefthook -h >/dev/null 2>&1 | ||
then | ||
eval lefthook $@ | ||
elif test -f "$dir/node_modules/@arkweid/lefthook/bin/lefthook" | ||
then | ||
eval "$dir/node_modules/@arkweid/lefthook/bin/lefthook $@" | ||
elif bundle exec lefthook -h >/dev/null 2>&1 | ||
then | ||
bundle exec lefthook $@ | ||
elif npx @arkweid/lefthook -h >/dev/null 2>&1 | ||
then | ||
npx @arkweid/lefthook $@ | ||
elif yarn lefthook -h >/dev/null 2>&1 | ||
then | ||
yarn lefthook $@ | ||
else | ||
echo "Can't find lefthook in PATH" | ||
fi | ||
} | ||
|
||
# lefthook_version: 9df6c1f1f0b607d16db43f25a405e842 | ||
|
||
call_lefthook "install" | ||
|
||
call_lefthook "run prepare-commit-msg $@" |
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
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 @@ | ||
{} |
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
Oops, something went wrong.