generated from JetBrains/compose-multiplatform-template
-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Sentry with BugSnag for error reporting (#313)
* Add bugsnag Android dependency * Remove Sentry and BuildKonfig usage * Add CrashKiOS bugsnag dependency * Remove `sentry.dsn` from `gradle.properties` * Add BugSnag API key in the Android app manifest using manifest placeholders * Enable BugSnag for non-debug builds on Android * Report background worker errors to BugSnag * Enable BugSnag for non-debug version on iOS * Upload dSYM to BugSnag instead of Sentry in when making iOS prod release * Reporting handled errors in common code using BugSnag * Remove unused Sentry usages * Add bugsnag as a pod * Update build archive command in iOS prod release workflow * Fix curl command for upload dSYM to Bugsnag * Change dSYM path in upload to Bugsnag step
- Loading branch information
1 parent
e8e74b0
commit 8fff78f
Showing
20 changed files
with
84 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
runs-on: macos-14 | ||
env: | ||
TERM: dumb | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | ||
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }} | ||
steps: | ||
- name: Configure Tramline | ||
id: tramline | ||
|
@@ -78,6 +78,7 @@ jobs: | |
-destination generic/platform=iOS \ | ||
DEVELOPMENT_TEAM=6XCS8KZXDA \ | ||
PROVISIONING_PROFILE=${{ secrets.PROVISION_PROFILE_ID }} \ | ||
BUGSNAG_API_KEY=${BUGSNAG_API_KEY} \ | ||
clean archive | ||
CODE_SIGN_IDENTITY="iPhone Distribution: Sasi Kanth (6XCS8KZXDA)" | ||
|
@@ -89,15 +90,12 @@ jobs: | |
echo -n "$EXPORT_OPTIONS_PLIST" | base64 --decode -o $EXPORT_OPTS_PATH | ||
xcodebuild -exportArchive -archivePath $RUNNER_TEMP/twine.xcarchive -exportOptionsPlist $EXPORT_OPTS_PATH -exportPath $RUNNER_TEMP/build | ||
- name: Upload debug symbols to Sentry | ||
- name: Upload debug symbols to Bugsnag | ||
run: | | ||
curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.21.2 bash; | ||
sentry-cli debug-files upload --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \ | ||
--include-sources \ | ||
--org ${{ secrets.SENTRY_ORG }} \ | ||
--project ${{ secrets.SENTRY_PROJECT }} \ | ||
$RUNNER_TEMP/twine.xcarchive/dSYMs | ||
cd $RUNNER_TEMP/twine.xcarchive/dSYMs/; | ||
curl --http1.1 https://upload.bugsnag.com/ \ | ||
-F apiKey=${BUGSNAG_API_KEY} \ | ||
-F [email protected]/Contents/Resources/DWARF/Twine \ | ||
- name: Clean up keychain and provisioning profile | ||
if: ${{ always() }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.