From 9a7ad899e46d5de924deaf96e8874a8c33f8e414 Mon Sep 17 00:00:00 2001 From: Ben Gourley Date: Tue, 25 May 2021 17:08:46 +0100 Subject: [PATCH] fix(react-native): Only include codeBundleId in payload when it has a value --- packages/react-native/src/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/src/config.js b/packages/react-native/src/config.js index 54fd78958c..0a37965bc1 100644 --- a/packages/react-native/src/config.js +++ b/packages/react-native/src/config.js @@ -19,9 +19,9 @@ module.exports.schema = { defaultValue: () => getPrefixedConsole() }, codeBundleId: { - defaultValue: () => null, + defaultValue: () => undefined, message: 'should be a string', - validate: val => (val === null || stringWithLength(val)) + validate: val => (val === undefined || stringWithLength(val)) }, enabledErrorTypes: { ...schema.enabledErrorTypes,