agora-appbuilder-core 4.0.7 → 4.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/_package-lock.json +82 -0
- package/template/android/app/build.gradle +8 -0
- package/template/android/build.gradle +3 -0
- package/template/bridge/rtc/webNg/RtcEngine.ts +581 -31
- package/template/bridge/rtc/webNg/RtcSurfaceView.tsx +2 -1
- package/template/bridge/rtm/web/index.ts +2 -1
- package/template/customization-api/customize.ts +29 -10
- package/template/index.js +17 -1
- package/template/index.web.js +2 -2
- package/template/package.json +3 -0
- package/template/src/SDKAppWrapper.tsx +44 -2
- package/template/src/app-state/useNoiseSupression.native.tsx +6 -0
- package/template/src/app-state/useNoiseSupression.tsx +17 -0
- package/template/src/auth/AuthProvider.tsx +145 -8
- package/template/src/auth/IDPAuth.electron.tsx +2 -1
- package/template/src/auth/IDPAuth.tsx +8 -2
- package/template/src/auth/openIDPURL.native.tsx +14 -3
- package/template/src/auth/useTokenAuth.tsx +7 -1
- package/template/src/components/Controls.tsx +2 -1
- package/template/src/components/DeviceConfigure.tsx +67 -17
- package/template/src/components/Precall.tsx +21 -0
- package/template/src/components/RTMConfigure.tsx +188 -24
- package/template/src/components/SettingsView.tsx +2 -0
- package/template/src/components/Share.tsx +11 -0
- package/template/src/components/StorageContext.tsx +32 -2
- package/template/src/components/chat-messages/useChatMessages.tsx +65 -5
- package/template/src/components/contexts/WaitingRoomContext.tsx +5 -1
- package/template/src/components/precall/joinCallBtn.tsx +6 -0
- package/template/src/components/precall/usePreCall.tsx +18 -2
- package/template/src/components/room-info/useRoomInfo.tsx +28 -25
- package/template/src/components/useUserPreference.tsx +13 -2
- package/template/src/components/useWakeLock.tsx +18 -4
- package/template/src/components/virtual-background/VBCard.tsx +40 -1
- package/template/src/components/virtual-background/VButils.native.ts +24 -5
- package/template/src/components/virtual-background/VButils.ts +29 -5
- package/template/src/components/virtual-background/VideoPreview.tsx +11 -1
- package/template/src/components/virtual-background/useVB.native.tsx +19 -3
- package/template/src/components/whiteboard/WhiteboardConfigure.tsx +32 -5
- package/template/src/components/whiteboard/WhiteboardToolBox.tsx +38 -8
- package/template/src/components/whiteboard/WhiteboardView.native.tsx +37 -13
- package/template/src/language/useLanguage.tsx +10 -4
- package/template/src/logger/AppBuilderLogger.tsx +215 -0
- package/template/src/logger/constants.ts +18 -0
- package/template/src/logger/transports/agora-transport.native.ts +58 -0
- package/template/src/logger/transports/agora-transport.ts +28 -0
- package/template/src/logger/transports/customer-transport.ts +115 -0
- package/template/src/pages/Create.tsx +27 -2
- package/template/src/pages/Endcall.tsx +6 -1
- package/template/src/pages/Join.tsx +31 -4
- package/template/src/pages/VideoCall.tsx +20 -56
- package/template/src/pages/video-call/DefaultLayouts.ts +11 -3
- package/template/src/pages/video-call/SidePanelHeader.tsx +12 -2
- package/template/src/pages/video-call/VideoCallScreen.tsx +8 -0
- package/template/src/pages/video-call/VideoRenderer.tsx +6 -0
- package/template/src/rtm/RTMEngine.ts +5 -0
- package/template/src/rtm-events-api/Events.ts +70 -16
- package/template/src/subComponents/LayoutIconDropdown.tsx +6 -0
- package/template/src/subComponents/LocalAudioMute.tsx +13 -3
- package/template/src/subComponents/LocalEndCall.tsx +8 -3
- package/template/src/subComponents/LocalVideoMute.tsx +15 -1
- package/template/src/subComponents/SelectDevice.tsx +111 -3
- package/template/src/subComponents/caption/CaptionContainer.tsx +17 -2
- package/template/src/subComponents/caption/useSTTAPI.tsx +62 -20
- package/template/src/subComponents/caption/useTranscriptDownload.native.ts +35 -5
- package/template/src/subComponents/caption/useTranscriptDownload.ts +12 -2
- package/template/src/subComponents/chat/ChatParticipants.tsx +6 -0
- package/template/src/subComponents/recording/useRecording.tsx +102 -15
- package/template/src/subComponents/screenshare/ScreenshareConfigure.native.tsx +33 -2
- package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +18 -2
- package/template/src/subComponents/waiting-rooms/useWaitingRoomAPI.ts +26 -0
- package/template/src/utils/axiomLogger.ts +2 -1
- package/template/src/utils/useCreateRoom.ts +30 -0
- package/template/src/utils/useFindActiveSpeaker.ts +43 -0
- package/template/src/utils/useFocus.tsx +8 -3
- package/template/src/utils/useIsLocalUserSpeaking.ts +19 -3
- package/template/src/utils/useJoinRoom.ts +27 -0
- package/template/src/utils/useLayout.tsx +9 -3
- package/template/src/utils/useSidePanel.tsx +14 -3
package/package.json
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"version": "1.0.1",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@apollo/client": "3.8.1",
|
|
12
|
+
"@datadog/browser-logs": "^5.15.0",
|
|
13
|
+
"@datadog/mobile-react-native": "^2.3.2",
|
|
12
14
|
"@gorhom/bottom-sheet": "4.4.7",
|
|
13
15
|
"@netless/react-native-whiteboard": "^0.0.14",
|
|
14
16
|
"@openspacelabs/react-native-zoomable-view": "^2.1.1",
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
"react-native-exit-app": "1.1.0",
|
|
47
49
|
"react-native-fs": "^2.20.0",
|
|
48
50
|
"react-native-gesture-handler": "2.8.0",
|
|
51
|
+
"react-native-get-random-values": "^1.11.0",
|
|
49
52
|
"react-native-hyperlink": "0.0.19",
|
|
50
53
|
"react-native-inappbrowser-reborn": "3.5.1",
|
|
51
54
|
"react-native-keep-awake": "4.0.0",
|
|
@@ -2368,6 +2371,37 @@
|
|
|
2368
2371
|
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
|
|
2369
2372
|
"dev": true
|
|
2370
2373
|
},
|
|
2374
|
+
"node_modules/@datadog/browser-core": {
|
|
2375
|
+
"version": "5.16.0",
|
|
2376
|
+
"resolved": "https://registry.npmjs.org/@datadog/browser-core/-/browser-core-5.16.0.tgz",
|
|
2377
|
+
"integrity": "sha512-8SXjJ034T15ihdYU/9cC1UBKr8aUVAAW8MsL0imll8imjBYo95ZCovbf6e24iZ7hYCdjk26+w3WpHQkARrUNsw=="
|
|
2378
|
+
},
|
|
2379
|
+
"node_modules/@datadog/browser-logs": {
|
|
2380
|
+
"version": "5.16.0",
|
|
2381
|
+
"resolved": "https://registry.npmjs.org/@datadog/browser-logs/-/browser-logs-5.16.0.tgz",
|
|
2382
|
+
"integrity": "sha512-9F57SQ1nj67JK1mST9NKUlIAwReIrfEJK6C8LdRzoBA9F4BVVZyQfSbjj/GhMJmdODNP+KWezfGvFflJ58WnJA==",
|
|
2383
|
+
"dependencies": {
|
|
2384
|
+
"@datadog/browser-core": "5.16.0"
|
|
2385
|
+
},
|
|
2386
|
+
"peerDependencies": {
|
|
2387
|
+
"@datadog/browser-rum": "5.16.0"
|
|
2388
|
+
},
|
|
2389
|
+
"peerDependenciesMeta": {
|
|
2390
|
+
"@datadog/browser-rum": {
|
|
2391
|
+
"optional": true
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
"node_modules/@datadog/mobile-react-native": {
|
|
2396
|
+
"version": "2.3.2",
|
|
2397
|
+
"resolved": "https://registry.npmjs.org/@datadog/mobile-react-native/-/mobile-react-native-2.3.2.tgz",
|
|
2398
|
+
"integrity": "sha512-QpTEh84FS+oLysdrtVuVCWqRskC/8lOlQp6RZlkm28sxRSsZgX46/Z9hrDnsknmG/wPv9inwwAUjdZxPLqQQdw==",
|
|
2399
|
+
"hasInstallScript": true,
|
|
2400
|
+
"peerDependencies": {
|
|
2401
|
+
"react": ">=16.13.1",
|
|
2402
|
+
"react-native": ">=0.63.4 <1.0"
|
|
2403
|
+
}
|
|
2404
|
+
},
|
|
2371
2405
|
"node_modules/@develar/schema-utils": {
|
|
2372
2406
|
"version": "2.6.5",
|
|
2373
2407
|
"resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz",
|
|
@@ -13661,6 +13695,11 @@
|
|
|
13661
13695
|
"node": ">= 0.10"
|
|
13662
13696
|
}
|
|
13663
13697
|
},
|
|
13698
|
+
"node_modules/fast-base64-decode": {
|
|
13699
|
+
"version": "1.0.0",
|
|
13700
|
+
"resolved": "https://registry.npmjs.org/fast-base64-decode/-/fast-base64-decode-1.0.0.tgz",
|
|
13701
|
+
"integrity": "sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q=="
|
|
13702
|
+
},
|
|
13664
13703
|
"node_modules/fast-deep-equal": {
|
|
13665
13704
|
"version": "3.1.3",
|
|
13666
13705
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
|
@@ -26815,6 +26854,17 @@
|
|
|
26815
26854
|
"react-native": "*"
|
|
26816
26855
|
}
|
|
26817
26856
|
},
|
|
26857
|
+
"node_modules/react-native-get-random-values": {
|
|
26858
|
+
"version": "1.11.0",
|
|
26859
|
+
"resolved": "https://registry.npmjs.org/react-native-get-random-values/-/react-native-get-random-values-1.11.0.tgz",
|
|
26860
|
+
"integrity": "sha512-4BTbDbRmS7iPdhYLRcz3PGFIpFJBwNZg9g42iwa2P6FOv9vZj/xJc678RZXnLNZzd0qd7Q3CCF6Yd+CU2eoXKQ==",
|
|
26861
|
+
"dependencies": {
|
|
26862
|
+
"fast-base64-decode": "^1.0.0"
|
|
26863
|
+
},
|
|
26864
|
+
"peerDependencies": {
|
|
26865
|
+
"react-native": ">=0.56"
|
|
26866
|
+
}
|
|
26867
|
+
},
|
|
26818
26868
|
"node_modules/react-native-hyperlink": {
|
|
26819
26869
|
"version": "0.0.19",
|
|
26820
26870
|
"resolved": "https://registry.npmjs.org/react-native-hyperlink/-/react-native-hyperlink-0.0.19.tgz",
|
|
@@ -34393,6 +34443,25 @@
|
|
|
34393
34443
|
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
|
|
34394
34444
|
"dev": true
|
|
34395
34445
|
},
|
|
34446
|
+
"@datadog/browser-core": {
|
|
34447
|
+
"version": "5.16.0",
|
|
34448
|
+
"resolved": "https://registry.npmjs.org/@datadog/browser-core/-/browser-core-5.16.0.tgz",
|
|
34449
|
+
"integrity": "sha512-8SXjJ034T15ihdYU/9cC1UBKr8aUVAAW8MsL0imll8imjBYo95ZCovbf6e24iZ7hYCdjk26+w3WpHQkARrUNsw=="
|
|
34450
|
+
},
|
|
34451
|
+
"@datadog/browser-logs": {
|
|
34452
|
+
"version": "5.16.0",
|
|
34453
|
+
"resolved": "https://registry.npmjs.org/@datadog/browser-logs/-/browser-logs-5.16.0.tgz",
|
|
34454
|
+
"integrity": "sha512-9F57SQ1nj67JK1mST9NKUlIAwReIrfEJK6C8LdRzoBA9F4BVVZyQfSbjj/GhMJmdODNP+KWezfGvFflJ58WnJA==",
|
|
34455
|
+
"requires": {
|
|
34456
|
+
"@datadog/browser-core": "5.16.0"
|
|
34457
|
+
}
|
|
34458
|
+
},
|
|
34459
|
+
"@datadog/mobile-react-native": {
|
|
34460
|
+
"version": "2.3.2",
|
|
34461
|
+
"resolved": "https://registry.npmjs.org/@datadog/mobile-react-native/-/mobile-react-native-2.3.2.tgz",
|
|
34462
|
+
"integrity": "sha512-QpTEh84FS+oLysdrtVuVCWqRskC/8lOlQp6RZlkm28sxRSsZgX46/Z9hrDnsknmG/wPv9inwwAUjdZxPLqQQdw==",
|
|
34463
|
+
"requires": {}
|
|
34464
|
+
},
|
|
34396
34465
|
"@develar/schema-utils": {
|
|
34397
34466
|
"version": "2.6.5",
|
|
34398
34467
|
"resolved": "https://registry.npmjs.org/@develar/schema-utils/-/schema-utils-2.6.5.tgz",
|
|
@@ -43056,6 +43125,11 @@
|
|
|
43056
43125
|
"time-stamp": "^1.0.0"
|
|
43057
43126
|
}
|
|
43058
43127
|
},
|
|
43128
|
+
"fast-base64-decode": {
|
|
43129
|
+
"version": "1.0.0",
|
|
43130
|
+
"resolved": "https://registry.npmjs.org/fast-base64-decode/-/fast-base64-decode-1.0.0.tgz",
|
|
43131
|
+
"integrity": "sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q=="
|
|
43132
|
+
},
|
|
43059
43133
|
"fast-deep-equal": {
|
|
43060
43134
|
"version": "3.1.3",
|
|
43061
43135
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
|
@@ -52906,6 +52980,14 @@
|
|
|
52906
52980
|
"prop-types": "^15.7.2"
|
|
52907
52981
|
}
|
|
52908
52982
|
},
|
|
52983
|
+
"react-native-get-random-values": {
|
|
52984
|
+
"version": "1.11.0",
|
|
52985
|
+
"resolved": "https://registry.npmjs.org/react-native-get-random-values/-/react-native-get-random-values-1.11.0.tgz",
|
|
52986
|
+
"integrity": "sha512-4BTbDbRmS7iPdhYLRcz3PGFIpFJBwNZg9g42iwa2P6FOv9vZj/xJc678RZXnLNZzd0qd7Q3CCF6Yd+CU2eoXKQ==",
|
|
52987
|
+
"requires": {
|
|
52988
|
+
"fast-base64-decode": "^1.0.0"
|
|
52989
|
+
}
|
|
52990
|
+
},
|
|
52909
52991
|
"react-native-hyperlink": {
|
|
52910
52992
|
"version": "0.0.19",
|
|
52911
52993
|
"resolved": "https://registry.npmjs.org/react-native-hyperlink/-/react-native-hyperlink-0.0.19.tgz",
|
|
@@ -118,6 +118,14 @@ dependencies {
|
|
|
118
118
|
} else {
|
|
119
119
|
implementation jscFlavor
|
|
120
120
|
}
|
|
121
|
+
constraints {
|
|
122
|
+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21") {
|
|
123
|
+
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
|
|
124
|
+
}
|
|
125
|
+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.21") {
|
|
126
|
+
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
|
|
127
|
+
}
|
|
128
|
+
}
|
|
121
129
|
}
|
|
122
130
|
|
|
123
131
|
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
|
|
@@ -9,6 +9,7 @@ buildscript {
|
|
|
9
9
|
|
|
10
10
|
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
|
|
11
11
|
ndkVersion = "23.1.7779620"
|
|
12
|
+
kotlinVersion = "1.8.21" // added this for datadog logs - https://docs.datadoghq.com/real_user_monitoring/mobile_and_tv_monitoring/setup/reactnative/#setup
|
|
12
13
|
}
|
|
13
14
|
subprojects { subproject ->
|
|
14
15
|
afterEvaluate{
|
|
@@ -29,3 +30,5 @@ buildscript {
|
|
|
29
30
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
30
31
|
}
|
|
31
32
|
}
|
|
33
|
+
|
|
34
|
+
|