fix(rn) fixes typo in functions.native

This commit is contained in:
tmoldovan8x8 2022-09-14 14:49:13 +03:00 committed by GitHub
parent a1d20dc188
commit b83c55e9c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export * from './functions.any';
* @returns {void}
*/
export function _cleanupConfig(config: IConfig) {
config.analytics ??= {};
config.analytics = {};
config.analytics.scriptURLs = [];
if (NativeModules.AppInfo.LIBRE_BUILD) {
delete config.analytics?.amplitudeAPPKey;