diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e7daa4937..f2e315d5a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,9 +16,9 @@ ### Dependencies -- Bump Cocoa SDK from v8.3.0 to v8.3.3 ([#2237](https://github.com/getsentry/sentry-dotnet/pull/2237), [#2248](https://github.com/getsentry/sentry-dotnet/pull/2248), [#2251](https://github.com/getsentry/sentry-dotnet/pull/2251)) - - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#833) - - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.3.0...8.3.3) +- Bump Cocoa SDK from v8.3.0 to v8.4.0 ([#2237](https://github.com/getsentry/sentry-dotnet/pull/2237), [#2248](https://github.com/getsentry/sentry-dotnet/pull/2248), [#2251](https://github.com/getsentry/sentry-dotnet/pull/2251), [#2285](https://github.com/getsentry/sentry-dotnet/pull/2285)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#840) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.3.0...8.4.0) - Bump CLI from v2.14.4 to v2.16.1 ([#2238](https://github.com/getsentry/sentry-dotnet/pull/2238), [#2244](https://github.com/getsentry/sentry-dotnet/pull/2244), [#2252](https://github.com/getsentry/sentry-dotnet/pull/2252), [#2264](https://github.com/getsentry/sentry-dotnet/pull/2264)) - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2161) diff --git a/modules/sentry-cocoa b/modules/sentry-cocoa index ac224c437a..92a6472efc 160000 --- a/modules/sentry-cocoa +++ b/modules/sentry-cocoa @@ -1 +1 @@ -Subproject commit ac224c437a3070ffe34460137ac8761eddaf2852 +Subproject commit 92a6472efc750a4e18bdee21c204942ab0bc4dcd diff --git a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs index 265c2f75cd..d13c7add6c 100644 --- a/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs +++ b/src/Sentry.Bindings.Cocoa/ApiDefinitions.cs @@ -565,6 +565,32 @@ interface SentryFrame : SentrySerializable NSNumber StackStart { get; set; } } +// @interface SentryGeo : NSObject +[BaseType (typeof(NSObject))] +[Internal] +interface SentryGeo : SentrySerializable +{ + // @property (copy, atomic) NSString * _Nullable city; + [NullAllowed, Export ("city")] + string City { get; set; } + + // @property (copy, atomic) NSString * _Nullable countryCode; + [NullAllowed, Export ("countryCode")] + string CountryCode { get; set; } + + // @property (copy, atomic) NSString * _Nullable region; + [NullAllowed, Export ("region")] + string Region { get; set; } + + // -(BOOL)isEqualToGeo:(SentryGeo * _Nonnull)geo; + [Export ("isEqualToGeo:")] + bool IsEqualToGeo (SentryGeo geo); + + // -(NSUInteger)hash; + [Export ("hash")] + nuint Hash { get; } +} + // @interface SentryHttpStatusCodeRange : NSObject [BaseType (typeof(NSObject))] [DisableDefaultCtor] @@ -832,6 +858,10 @@ interface SentryOptions [NoWatch, NoTV, Introduced (PlatformName.MacCatalyst, 15, 0), Introduced (PlatformName.MacOSX, 12, 0), Introduced (PlatformName.iOS, 15, 0)] [Export ("enableMetricKit")] bool EnableMetricKit { get; set; } + + // @property (nonatomic) BOOL enableTimeToFullDisplay; + [Export ("enableTimeToFullDisplay")] + bool EnableTimeToFullDisplay { get; set; } } // @protocol SentryIntegrationProtocol @@ -1139,6 +1169,10 @@ interface SentryHub [Export ("setUser:")] void SetUser ([NullAllowed] SentryUser user); + // -(void)reportFullyDisplayed; + [Export ("reportFullyDisplayed")] + void ReportFullyDisplayed (); + // -(void)flush:(NSTimeInterval)timeout __attribute__((swift_name("flush(timeout:)"))); [Export ("flush:")] void Flush (double timeout); @@ -1621,6 +1655,11 @@ interface SentrySDK [Export ("crash")] void Crash (); + // +(void)reportFullyDisplayed; + [Static] + [Export ("reportFullyDisplayed")] + void ReportFullyDisplayed (); + // +(void)flush:(NSTimeInterval)timeout __attribute__((swift_name("flush(timeout:)"))); [Static] [Export ("flush:")] @@ -1933,6 +1972,14 @@ interface SentryUser : SentrySerializable [NullAllowed, Export ("segment")] string Segment { get; set; } + // @property (copy, atomic) NSString * _Nullable name; + [NullAllowed, Export ("name")] + string Name { get; set; } + + // @property (nonatomic, strong) SentryGeo * _Nullable geo; + [NullAllowed, Export ("geo", ArgumentSemantic.Strong)] + SentryGeo Geo { get; set; } + // @property (atomic, strong) NSDictionary * _Nullable data; [NullAllowed, Export ("data", ArgumentSemantic.Strong)] NSDictionary Data { get; set; }