-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to upload snaps to snap store #2514
Comments
Yes |
This is caused by the inclusion of sentry-native's crash handler in the build. We'll be making it an opt-in in a next patch release. |
Your solution is to remove some code. I also have a solution to keep the existing code. If my solution can be implemented, what additional configuration needs to be added in snapcraft.yaml? |
@kjxbyz can you tell us more about your solution? |
What is the purpose of a crash handler? If it does not affect the core functionality, I think it can be an optional feature. |
After upgrading to 8.11.2, snaps were successfully uploaded to the snap store. Thank you! |
Just released v8.11.2 disabled the native crash reporting by default, you can reenable it with a different backend (breakpad should be fine to use with snaps) by setting an env var: export SENTRY_NATIVE_BACKEND=breakpad
flutter build linux You could read about various backends in https://docs.sentry.io/platforms/native/advanced-usage/backend-tradeoffs/ but TLDR is that |
My app is distributed not only through exe, msi, dmg, deb or rpm files, but also through microsoft store, flathub, snap store and mac app store, so breakpad is more suitable for me. Thank you! |
Platform
Flutter Desktop Linux
Obfuscation
Disabled
Debug Info
Disabled
Doctor
Version
8.11.1
Steps to Reproduce
snapcraft upload --release=latest/edge xxx.snap
Expected Result
Upload the snapshot to the snapshot store normally.
Actual Result
Are you willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: