rn: skip loading configured scriptUrls

None of them work on mobile.
This commit is contained in:
Saúl Ibarra Corretgé 2019-10-11 11:46:57 +02:00 committed by Saúl Ibarra Corretgé
parent 35130f0736
commit d85b869934
1 changed files with 1 additions and 1 deletions

View File

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