Skip to content

Commit

Permalink
Replace deprecated sdk info (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto authored Oct 10, 2022
1 parent a921cc7 commit 0acb66c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flutter/ios/Classes/SentryFlutterPluginApple.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin {
infos["integrations"] = integrations
}

if let sdkInfo = self.sentryOptions?.sdkInfo {
infos["package"] = ["version": sdkInfo.version, "sdk_name": "cocoapods:sentry-cocoa"]
}
// Not reading the name from PrivateSentrySDKOnly.getSdkName because
// this is added as a package and packages should follow the sentry-release-registry format
infos["package"] = ["version": PrivateSentrySDKOnly.getSdkVersionString(), "sdk_name": "cocoapods:sentry-cocoa"]

result(infos)
}
Expand Down

0 comments on commit 0acb66c

Please sign in to comment.