agora-appbuilder-core 4.0.0-spl.16 → 4.0.0-spl.17
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
CHANGED
|
@@ -165,9 +165,18 @@ if ($config.GEO_FENCING) {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
if ($config.LOG_ENABLED) {
|
|
168
|
-
|
|
168
|
+
if (
|
|
169
|
+
(APPBUILDER_PUBLIC_TARGET === 'wsdk' ||
|
|
170
|
+
APPBUILDER_PUBLIC_TARGET === 'rsdk') &&
|
|
171
|
+
APPBUILDER_PUBLIC_NODE_ENV === 'production'
|
|
172
|
+
) {
|
|
173
|
+
AgoraRTC.setLogLevel(4);
|
|
174
|
+
} else {
|
|
175
|
+
AgoraRTC.setLogLevel(0);
|
|
176
|
+
}
|
|
169
177
|
AgoraRTC.enableLogUpload();
|
|
170
178
|
} else {
|
|
179
|
+
AgoraRTC.setLogLevel(4);
|
|
171
180
|
AgoraRTC.disableLogUpload();
|
|
172
181
|
}
|
|
173
182
|
|
package/template/index.rsdk.tsx
CHANGED
|
@@ -28,10 +28,6 @@ interface AppBuilderReactSdkInterface extends AppBuilderSdkApiInterface {
|
|
|
28
28
|
View: React.FC;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
if (APPBUILDER_PUBLIC_NODE_ENV === 'production') {
|
|
32
|
-
AgoraRTC.setLogLevel(4);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
31
|
const AppBuilderReactSdkApi: AppBuilderReactSdkInterface = {
|
|
36
32
|
...AppBuilderSdkApi,
|
|
37
33
|
View: SDKAppWrapper,
|
package/template/index.wsdk.tsx
CHANGED
|
@@ -10,10 +10,6 @@ import AgoraRTC from 'agora-rtc-sdk-ng';
|
|
|
10
10
|
export * from 'customization-api';
|
|
11
11
|
export * from 'customization-implementation';
|
|
12
12
|
|
|
13
|
-
if (APPBUILDER_PUBLIC_NODE_ENV === 'production') {
|
|
14
|
-
AgoraRTC.setLogLevel(4);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
13
|
const AppBuilderWebSdkApi: AppBuilderSdkApiInterface = AppBuilderSdkApi;
|
|
18
14
|
|
|
19
15
|
// init code
|