Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Fixes

- Fix processor architecture for Linux ([#355](https://github.com/getsentry/sentry-dart-plugin/pull/355))

## 3.2.1

### Fixes
Expand Down
11 changes: 4 additions & 7 deletions lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,12 @@ class Configuration {
? HostPlatform.windows32bit
: HostPlatform.windows64bit;
} else if (Platform.isLinux) {
switch (SysInfo.kernelArchitecture.name.toLowerCase()) {
case 'arm':
case 'armv6':
case 'armv7':
switch (SysInfo.kernelArchitecture) {
case ProcessorArchitecture.arm:
return HostPlatform.linuxArmv7;
case 'aarch64':
case ProcessorArchitecture.arm64:
Comment thread
denrase marked this conversation as resolved.
return HostPlatform.linuxAarch64;
case 'amd64':
case 'x86_64':
case ProcessorArchitecture.x86_64:
return HostPlatform.linux64bit;
}
}
Expand Down
Loading