Skip to content

Commit

Permalink
[1.265.*] Pre-release merge (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
msfjarvis authored Jan 3, 2025
2 parents b9ec582 + c1b4af7 commit 25ab8d1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:

- name: Run unit tests
run: ./gradlew --no-configuration-cache --stacktrace :build-logic:check check -PslimTests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: (Fail-only) Upload test report
if: failure()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew --no-configuration-cache assembleRelease collectReleaseApks collectReleaseBundle -PenableSentry
Expand Down
2 changes: 2 additions & 0 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ extensions.configure<ApplicationExtension> {
experimentalProperties["android.experimental.enableScreenshotTest"] = true
}

aboutLibraries.gitHubApiToken = providers.environmentVariable("GITHUB_TOKEN").orNull

baselineProfile {
mergeIntoMain = true
saveInSrc = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2022-2024 Harsh Shandilya.
* Copyright © 2022-2025 Harsh Shandilya.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
Expand All @@ -16,9 +16,6 @@ import javax.inject.Inject
@ContributesMultibinding(ApplicationScope::class)
class SentryAndroidPlugin @Inject constructor() : AppPlugin {
override fun apply(application: Application) {
SentryAndroid.init(application) { options ->
options.experimental.sessionReplay.onErrorSampleRate = 1.0
options.experimental.sessionReplay.sessionSampleRate = 0.1
}
SentryAndroid.init(application)
}
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lifecycle = "2.9.0-alpha08"
navigation = "2.9.0-alpha04"
retrofit = "2.11.0"
richtext = "1.0.0-alpha02"
sentry-sdk = "7.19.1"
sentry-sdk = "7.20.0"
serialization = "1.7.3"
sqldelight = "2.0.2"
store = "5.1.0-alpha05"
Expand Down

0 comments on commit 25ab8d1

Please sign in to comment.