From 9091bd57e4bb8d62501ffd70335324b71f396323 Mon Sep 17 00:00:00 2001 From: kholood Date: Fri, 28 Feb 2025 14:20:31 +0200 Subject: [PATCH] chore: increase network logs size limit --- src/utils/InstabugConstants.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/InstabugConstants.ts b/src/utils/InstabugConstants.ts index aedc840701..31100fe600 100644 --- a/src/utils/InstabugConstants.ts +++ b/src/utils/InstabugConstants.ts @@ -2,11 +2,11 @@ const InstabugConstants = { GRAPHQL_HEADER: 'ibg-graphql-header', // TODO: dyanmically get the max size from the native SDK and update the error message to reflect the dynamic size. - MAX_NETWORK_BODY_SIZE_IN_BYTES: 1024 * 10, // 10 KB + MAX_NETWORK_BODY_SIZE_IN_BYTES: 1024 * 30, // 30 KB MAX_RESPONSE_BODY_SIZE_EXCEEDED_MESSAGE: - 'The response body has not been logged because it exceeds the maximum size of 10 Kb', + 'The response body has not been logged because it exceeds the maximum size of 30 Kb', MAX_REQUEST_BODY_SIZE_EXCEEDED_MESSAGE: - 'The request body has not been logged because it exceeds the maximum size of 10 Kb', + 'The request body has not been logged because it exceeds the maximum size of 30 Kb', SET_USER_ATTRIBUTES_ERROR_TYPE_MESSAGE: 'IBG-RN: Expected key and value passed to setUserAttribute to be of type string', REMOVE_USER_ATTRIBUTES_ERROR_TYPE_MESSAGE: