Skip to content

Commit c9e4546

Browse files
authored
Merge pull request #100 from bugsnag/next
Release v1.3.2
2 parents c63673e + 689061f commit c9e4546

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Internal/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
internal static class Version
44
{
55
//TODO set this using sed or something in the release automation task
6-
public const string VersionString = "1.3.1";
6+
public const string VersionString = "1.3.2";
77
}
88
}

BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Models/ResourceModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void Configure(PerformanceConfiguration config)
3232
AddNonNullAttribute(GetManufacturer());
3333
AddNonNullAttribute(GetArch());
3434
AddNonNullAttribute(GetNativeOsVersion());
35-
AddNonNullAttribute(GetAndroidSdkInt());
35+
AddNonNullAttribute(GetAndroidSdk());
3636
}
3737

3838
private void AddNonNullAttribute(AttributeModel attributeModel)
@@ -155,11 +155,11 @@ private AttributeModel GetNativeOsVersion()
155155
return new AttributeModel("os.version", osVersion);
156156
}
157157

158-
private AttributeModel GetAndroidSdkInt()
158+
private AttributeModel GetAndroidSdk()
159159
{
160160
if (Application.platform == RuntimePlatform.Android)
161161
{
162-
return new AttributeModel("bugsnag.device.android_api_version", AndroidNative.GetAndroidSDKInt());
162+
return new AttributeModel("bugsnag.device.android_api_version", AndroidNative.GetAndroidSDKInt().ToString());
163163
}
164164
return null;
165165
}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v1.3.2 (2024-14-02)
4+
5+
### Bug Fixes
6+
7+
- Fixed issue where the span attribute android_api_version was sent as a int attribute instead of a string [#99](https://github.com/bugsnag/bugsnag-unity-performance/pull/99)
8+
39
## v1.3.1 (2024-31-01)
410

511
### Additions

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source 'https://rubygems.org'
22

33
gem 'rake'
4+
gem 'cocoapods'
45

56
unless Gem.win_platform?
67
# Use official Maze Runner release

features/configuration.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ Feature: Configuration tests
5757
Then the trace Bugsnag-Integrity header is valid
5858
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.0.name" equals "VersionCode"
5959
* the trace payload field "resourceSpans.0.resource" string attribute "bugsnag.app.version_code" equals "123"
60-
* the trace payload field "resourceSpans.0.resource" integer attribute "bugsnag.device.android_api_version" is greater than 0
60+
* the trace payload field "resourceSpans.0.resource" string attribute "bugsnag.device.android_api_version" exists

0 commit comments

Comments
 (0)