Skip to content

Commit 8846663

Browse files
github-actions[bot]web-flowjpnurmi
authored
chore(deps): update Cocoa SDK to v9.4.1 (#4928)
* chore: update modules/sentry-cocoa.properties to 9.4.1 * Commit Sentry.Bindings.Cocoa/ApiDefinitions.cs & StructsAndEnums.cs changes To pass the dirty check: ``` Write-Error: /Users/runner/work/sentry-dotnet/sentry-dotnet/scripts/dirty-check.ps1:14 Line | 14 | Write-Error "$GuidanceOnFailure" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Dirty files detected. /Users/runner/work/sentry-dotnet/sentry-dotnet/src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj(132,5): error MSB3073: The command "pwsh ../../scripts/dirty-check.ps1 -PathToCheck /Users/runner/work/sentry-dotnet/sentry-dotnet/src/Sentry.Bindings.Cocoa/" exited with code 1. [TargetFramework=once] ``` --------- Co-authored-by: GitHub <noreply@github.com> Co-authored-by: J-P Nurmi <jpnurmi@gmail.com>
1 parent f201b65 commit 8846663

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

modules/sentry-cocoa.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = 9.2.0
1+
version = 9.4.1
22
repo = https://github.com/getsentry/sentry-cocoa

src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,11 +1587,6 @@ interface PrivateSentrySDKOnly
15871587
[Export("setCurrentScreen:")]
15881588
void SetCurrentScreen([NullAllowed] string screenName);
15891589

1590-
// +(UIView * _Nonnull)sessionReplayMaskingOverlay:(id<SentryRedactOptions> _Nonnull)options;
1591-
[Static]
1592-
[Export("sessionReplayMaskingOverlay:")]
1593-
UIView SessionReplayMaskingOverlay(SentryRedactOptions options);
1594-
15951590
// +(void)configureSessionReplayWith:(id<SentryReplayBreadcrumbConverter> _Nullable)breadcrumbConverter screenshotProvider:(id<SentryViewScreenshotProvider> _Nullable)screenshotProvider;
15961591
[Static]
15971592
[Export("configureSessionReplayWith:screenshotProvider:")]

src/Sentry.Bindings.Cocoa/StructsAndEnums.cs

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,18 @@ internal enum SentryFeedbackSource : long
110110
Custom = 1
111111
}
112112

113+
[Native]
114+
internal enum SentryHttpStatusCode : long
115+
{
116+
Ok = 200,
117+
Created = 201,
118+
BadRequest = 400,
119+
PreconditionFailed = 412,
120+
ContentTooLarge = 413,
121+
TooManyRequests = 429,
122+
InternalServerError = 500
123+
}
124+
113125
[Native]
114126
internal enum SentryLogLevel : long
115127
{
@@ -143,15 +155,6 @@ internal enum SentryReplayType : long
143155
Buffer = 1
144156
}
145157

146-
[Native]
147-
internal enum SentrySessionStatus : ulong
148-
{
149-
Ok = 0,
150-
Exited = 1,
151-
Crashed = 2,
152-
Abnormal = 3
153-
}
154-
155158
[Native]
156159
internal enum SentryTransactionNameSource : long
157160
{

0 commit comments

Comments
 (0)