Skip to content

Commit 3a4de05

Browse files
github-actions[bot]web-flowbuenaflor
authored
chore(deps): update Cocoa SDK to v8.43.0 (#2548)
* chore: update flutter/scripts/update-cocoa.sh to 8.43.0 * format * update * fix options * update optiosn * fix options * revert * revert to main --------- Co-authored-by: GitHub <[email protected]> Co-authored-by: GIancarlo Buenaflor <[email protected]>
1 parent 85b58ca commit 3a4de05

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
### Dependencies
1616

17+
- Bump Cocoa SDK from v8.42.0 to v8.43.0 ([#2542](https://github.com/getsentry/sentry-dart/pull/2542), [#2548](https://github.com/getsentry/sentry-dart/pull/2548))
18+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8430)
19+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.42.0...8.43.0)
1720
- Bump Android SDK from v7.19.0 to v7.20.0 ([#2536](https://github.com/getsentry/sentry-dart/pull/2536), [#2549](https://github.com/getsentry/sentry-dart/pull/2549))
1821
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7200)
1922
- [diff](https://github.com/getsentry/sentry-java/compare/7.19.0...7.20.0)
20-
- Bump Cocoa SDK from v8.42.0 to v8.43.0-beta.1 ([#2542](https://github.com/getsentry/sentry-dart/pull/2542))
21-
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8430-beta1)
22-
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.42.0...8.43.0-beta.1)
2323

2424
## 8.12.0
2525

flutter/ios/Classes/SentryFlutter.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ public final class SentryFlutter {
113113
}
114114
#if canImport(UIKit) && !SENTRY_NO_UIKIT && (os(iOS) || os(tvOS))
115115
if let replayOptions = data["replay"] as? [String: Any] {
116-
options.experimental.sessionReplay.sessionSampleRate =
116+
options.sessionReplay.sessionSampleRate =
117117
(replayOptions["sessionSampleRate"] as? NSNumber)?.floatValue ?? 0
118-
options.experimental.sessionReplay.onErrorSampleRate =
118+
options.sessionReplay.onErrorSampleRate =
119119
(replayOptions["onErrorSampleRate"] as? NSNumber)?.floatValue ?? 0
120120

121121
// TMP: this doesn't actually mask, just ensures we show the correct
122122
// value in tags. https://github.com/getsentry/sentry-cocoa/issues/4666
123-
options.experimental.sessionReplay.maskAllText =
123+
options.sessionReplay.maskAllText =
124124
(replayOptions["maskAllText"] as? Bool) ?? false
125-
options.experimental.sessionReplay.maskAllImages =
125+
options.sessionReplay.maskAllImages =
126126
(replayOptions["maskAllImages"] as? Bool) ?? false
127127
}
128128
#endif

flutter/ios/sentry_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Sentry SDK for Flutter with support to native through sentry-cocoa.
1616
:tag => s.version.to_s }
1717
s.source_files = 'Classes/**/*'
1818
s.public_header_files = 'Classes/**/*.h'
19-
s.dependency 'Sentry/HybridSDK', '8.43.0-beta.1'
19+
s.dependency 'Sentry/HybridSDK', '8.43.0'
2020
s.ios.dependency 'Flutter'
2121
s.osx.dependency 'FlutterMacOS'
2222
s.ios.deployment_target = '12.0'

flutter/lib/src/native/cocoa/binding.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29906,6 +29906,8 @@ class SentryCocoa {
2990629906
late final _sel_setSdkName_1 = _registerName1("setSdkName:");
2990729907
late final _sel_getSdkName1 = _registerName1("getSdkName");
2990829908
late final _sel_getSdkVersionString1 = _registerName1("getSdkVersionString");
29909+
late final _sel_addSdkPackage_version_1 =
29910+
_registerName1("addSdkPackage:version:");
2990929911
late final _sel_getExtraContext1 = _registerName1("getExtraContext");
2991029912
late final _class_SentryId2 = _getClass1("Sentry.SentryId");
2991129913
late final _sel_startProfilerForTrace_1 =
@@ -70745,6 +70747,16 @@ class PrivateSentrySDKOnly extends NSObject {
7074570747
return NSString._(_ret, _lib, retain: true, release: true);
7074670748
}
7074770749

70750+
/// Add a package to the SDK packages
70751+
static void addSdkPackage_version_(
70752+
SentryCocoa _lib, NSString? name, NSString? version) {
70753+
_lib._objc_msgSend_515(
70754+
_lib._class_PrivateSentrySDKOnly1,
70755+
_lib._sel_addSdkPackage_version_1,
70756+
name?._id ?? ffi.nullptr,
70757+
version?._id ?? ffi.nullptr);
70758+
}
70759+
7074870760
/// Retrieves extra context
7074970761
static NSDictionary getExtraContext(SentryCocoa _lib) {
7075070762
final _ret = _lib._objc_msgSend_170(

0 commit comments

Comments
 (0)