Skip to content

Commit

Permalink
meta: update Sentry SDK to 8.24.0, enable launch profiling and perfor…
Browse files Browse the repository at this point in the history
…mance V2 (#84)
  • Loading branch information
armcknight authored Apr 16, 2024
1 parent 8181fe5 commit 5e2a712
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion EmpowerPlant.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@
repositoryURL = "https://github.com/getsentry/sentry-cocoa";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 8.13.1;
minimumVersion = 8.24.0;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"originHash" : "e97ad0b335e10856b6b2b6fe2bb38d92fa89d25dac53e5995959036b69e7624b",
"pins" : [
{
"identity" : "bigint",
Expand All @@ -14,8 +15,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/getsentry/sentry-cocoa",
"state" : {
"revision" : "008325304ada69fa32aa7aeba967b65984f30569",
"version" : "8.14.2"
"revision" : "ef4fec9dfb8dd5027b09a4a5c9362feafd118e1a",
"version" : "8.24.0"
}
}
],
Expand Down
6 changes: 2 additions & 4 deletions EmpowerPlant/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

options.tracesSampleRate = 1.0
options.profilesSampleRate = 1.0
options.attachScreenshot = true
options.enableAppLaunchProfiling = true
options.attachViewHierarchy = true
options.enableTimeToFullDisplayTracing = true

options.enableSwizzling = enableSwizzling

options.enablePerformanceV2 = true
}
SentrySDK.configureScope{ scope in
scope.setTag(value: ["corporate", "enterprise", "self-serve"].randomElement() ?? "unknown", key: "customer.type")
Expand Down

0 comments on commit 5e2a712

Please sign in to comment.