rn: skip loading configured scriptUrls
None of them work on mobile.
This commit is contained in:
parent
35130f0736
commit
d85b869934
|
@ -11,8 +11,8 @@ export * from './functions.any';
|
|||
* @returns {void}
|
||||
*/
|
||||
export function _cleanupConfig(config: Object) {
|
||||
if (NativeModules.AppInfo.LIBRE_BUILD) {
|
||||
config.analytics.scriptURLs = [];
|
||||
if (NativeModules.AppInfo.LIBRE_BUILD) {
|
||||
delete config.analytics.amplitudeAPPKey;
|
||||
delete config.analytics.googleAnalyticsTrackingId;
|
||||
delete config.callStatsID;
|
||||
|
|
Loading…
Reference in New Issue