From ecb394755c4e48a6e4e35cb4fd8ffe127dd7b133 Mon Sep 17 00:00:00 2001 From: Avinash Lingaloo Date: Fri, 14 Oct 2022 19:47:20 +0400 Subject: [PATCH] test --- fastlane/Fastfile | 2 +- patches/@sentry+react-native+4.6.0.patch | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index a9b6cecbcb..5ff6780158 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -742,7 +742,7 @@ platform :android do 'separateApk' => ENV["SEPARATE_APKS"] || false, 'universalApk' => ENV["SEPARATE_APKS"] || false, }, - flags: "-Dorg.gradle.logging.stacktrace=full -Dorg.gradle.daemon=false", + flags: "--debug", ) end diff --git a/patches/@sentry+react-native+4.6.0.patch b/patches/@sentry+react-native+4.6.0.patch index 1d59a631a0..2f80116946 100644 --- a/patches/@sentry+react-native+4.6.0.patch +++ b/patches/@sentry+react-native+4.6.0.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/@sentry/react-native/sentry.gradle b/node_modules/@sentry/react-native/sentry.gradle -index c54bf8c..a82e034 100644 +index c54bf8c..2203438 100644 --- a/node_modules/@sentry/react-native/sentry.gradle +++ b/node_modules/@sentry/react-native/sentry.gradle @@ -121,14 +121,22 @@ gradle.projectsEvaluated { @@ -27,3 +27,24 @@ index c54bf8c..a82e034 100644 ]) args.addAll(!config.flavorAware ? [] : [ "--url", sentryProps.get("defaults.url"), +@@ -211,10 +219,10 @@ static extractBundleTaskArguments(cmdArgs, Project project) { + cmdArgs.eachWithIndex { String arg, int i -> + if (arg == "--bundle-output") { + bundleOutput = cmdArgs[i + 1] +- project.logger.info("--bundle-output: `${bundleOutput}`") ++ project.logger.debug("--bundle-output: `${bundleOutput}`") + } else if (arg == "--sourcemap-output") { + sourcemapOutput = cmdArgs[i + 1] +- project.logger.info("--sourcemap-output param: `${sourcemapOutput}`") ++ project.logger.debug("--sourcemap-output param: `${sourcemapOutput}`") + } + } + +@@ -251,6 +259,7 @@ static extractBundleTaskArguments(cmdArgs, Project project) { + /** Force Bundle task to produce sourcemap files if they are not pre-configured by user yet. */ + def forceSourceMapOutputFromBundleTask(bundleTask) { + def props = bundleTask.getProperties() ++ project.logger.debug('bundleTask', bundleTask) + def cmd = props.get("commandLine") as List + def cmdArgs = props.get("args") as List + def shouldCleanUp = false