-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Replace sdkInfo
on iOS
#1056
Comments
@brustolin @philipphofmann is there any other way of adding |
instead of this: if let sdkInfo = self.sentryOptions?.sdkInfo {
infos["package"] = ["version": sdkInfo.version, "sdk_name": "cocoapods:sentry-cocoa"]
} Do this infos["package"] = ["version": PrivateSentrySDKOnly.getSdkVersionString(), "sdk_name": "cocoapods:sentry-cocoa"] |
@brustolin I don't follow, where does |
|
Oh yeah that makes sense, my bad. sentry-dart/flutter/lib/src/default_integrations.dart Lines 299 to 310 in fe217ba
This works for now. |
Description
sentry-dart/flutter/ios/Classes/SentryFlutterPluginApple.swift
Lines 174 to 176 in fe217ba
sdkInfo
is deprecated getsentry/sentry-cocoa#1960The current alternative is the Private class but I can't add a new package https://github.com/getsentry/sentry-cocoa/blob/be47c6c37e25c3c5d92cceb875c6f408f76017f8/Sources/Sentry/PrivateSentrySDKOnly.m#L80-L99
This leads to warns during build #1055
Similar to getsentry/sentry-react-native#2530
The text was updated successfully, but these errors were encountered: