Loading mobile/android/fenix/app/build.gradle +2 −4 Original line number Diff line number Diff line Loading @@ -333,8 +333,8 @@ androidComponents { // ------------------------------------------------------------------------------------------------- android.defaultConfig.with { buildConfigField 'boolean', 'CRASH_REPORTING', 'true' buildConfigField 'boolean', 'TELEMETRY', 'true' buildConfigField 'boolean', 'CRASH_REPORTING', 'false' buildConfigField 'boolean', 'TELEMETRY', 'false' // Reading the sentry token from a local file (if it exists). In a release task on taskcluster it will be available. buildConfigField 'String', 'SENTRY_TOKEN', 'null' Loading @@ -342,8 +342,6 @@ android.defaultConfig.with { def token = new File("${rootDir}/.sentry_token").text.trim() buildConfigField 'String', 'SENTRY_TOKEN', '"' + token + '"' } catch (FileNotFoundException ignored) {} buildConfigField 'boolean', 'CRASH_REPORTING', 'false' buildConfigField 'boolean', 'TELEMETRY', 'false' // Setting buildDate with every build ID changes the generated BuildConfig and slows down the // build, so debug builds (overridden below) use a fixed string instead. Loading Loading
mobile/android/fenix/app/build.gradle +2 −4 Original line number Diff line number Diff line Loading @@ -333,8 +333,8 @@ androidComponents { // ------------------------------------------------------------------------------------------------- android.defaultConfig.with { buildConfigField 'boolean', 'CRASH_REPORTING', 'true' buildConfigField 'boolean', 'TELEMETRY', 'true' buildConfigField 'boolean', 'CRASH_REPORTING', 'false' buildConfigField 'boolean', 'TELEMETRY', 'false' // Reading the sentry token from a local file (if it exists). In a release task on taskcluster it will be available. buildConfigField 'String', 'SENTRY_TOKEN', 'null' Loading @@ -342,8 +342,6 @@ android.defaultConfig.with { def token = new File("${rootDir}/.sentry_token").text.trim() buildConfigField 'String', 'SENTRY_TOKEN', '"' + token + '"' } catch (FileNotFoundException ignored) {} buildConfigField 'boolean', 'CRASH_REPORTING', 'false' buildConfigField 'boolean', 'TELEMETRY', 'false' // Setting buildDate with every build ID changes the generated BuildConfig and slows down the // build, so debug builds (overridden below) use a fixed string instead. Loading