瀏覽代碼

rn: skip loading configured scriptUrls

None of them work on mobile.
j8
Saúl Ibarra Corretgé 5 年之前
父節點
當前提交
d85b869934
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      react/features/base/config/functions.native.js

+ 1
- 1
react/features/base/config/functions.native.js 查看文件

@@ -11,8 +11,8 @@ export * from './functions.any';
11 11
  * @returns {void}
12 12
  */
13 13
 export function _cleanupConfig(config: Object) {
14
+    config.analytics.scriptURLs = [];
14 15
     if (NativeModules.AppInfo.LIBRE_BUILD) {
15
-        config.analytics.scriptURLs = [];
16 16
         delete config.analytics.amplitudeAPPKey;
17 17
         delete config.analytics.googleAnalyticsTrackingId;
18 18
         delete config.callStatsID;

Loading…
取消
儲存