Skip to content

Commit 0028e3e

Browse files
chore: update flutter/scripts/update-cocoa.sh to 8.44.0 (#2649)
Co-authored-by: GitHub <[email protected]>
1 parent a24a1db commit 0028e3e

File tree

4 files changed

+230
-2
lines changed

4 files changed

+230
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Dependencies
6+
7+
- Bump Cocoa SDK from v8.44.0-beta.1 to v8.44.0 ([#2649](https://github.com/getsentry/sentry-dart/pull/2649))
8+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8440)
9+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.44.0-beta.1...8.44.0)
10+
311
## 8.13.0-beta.3
412

513
### Enhancements

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 = 'sentry_flutter/Sources/**/*'
1818
s.public_header_files = 'sentry_flutter/Sources/**/*.h'
19-
s.dependency 'Sentry/HybridSDK', '8.44.0-beta.1'
19+
s.dependency 'Sentry/HybridSDK', '8.44.0'
2020
s.ios.dependency 'Flutter'
2121
s.osx.dependency 'FlutterMacOS'
2222
s.ios.deployment_target = '12.0'

flutter/ios/sentry_flutter/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let package = Package(
1313
.library(name: "sentry-flutter", targets: ["sentry_flutter", "sentry_flutter_objc"])
1414
],
1515
dependencies: [
16-
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "8.44.0-beta.1")
16+
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "8.44.0")
1717
],
1818
targets: [
1919
.target(

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

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30118,6 +30118,11 @@ class SentryCocoa {
3011830118
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
3011930119
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>();
3012030120

30121+
late final _class_SentryFeedback1 = _getClass1("SentryFeedback");
30122+
late final _sel_email1 = _registerName1("email");
30123+
late final _sel_setEmail_1 = _registerName1("setEmail:");
30124+
late final _sel_message1 = _registerName1("message");
30125+
late final _sel_setMessage_1 = _registerName1("setMessage:");
3012130126
late final _class_SentryId11 = _getClass1("Sentry.SentryId");
3012230127
late final _sel_empty1 = _registerName1("empty");
3012330128
ffi.Pointer<ObjCObject> _objc_msgSend_1062(
@@ -30227,6 +30232,15 @@ class SentryCocoa {
3022730232
ffi.Pointer<ObjCObject>)>();
3022830233

3022930234
late final _sel_isEqual_1 = _registerName1("isEqual:");
30235+
late final _sel_eventId1 = _registerName1("eventId");
30236+
late final _sel_screenshot1 = _registerName1("screenshot");
30237+
late final _sel_setScreenshot_1 = _registerName1("setScreenshot:");
30238+
late final _sel_associatedEventId1 = _registerName1("associatedEventId");
30239+
late final _sel_setAssociatedEventId_1 =
30240+
_registerName1("setAssociatedEventId:");
30241+
late final _sel_serialize1 = _registerName1("serialize");
30242+
late final _sel_dataDictionary1 = _registerName1("dataDictionary");
30243+
late final _sel_attachments1 = _registerName1("attachments");
3023030244
}
3023130245

3023230246
class _ObjCWrapper implements ffi.Finalizable {
@@ -71190,6 +71204,212 @@ class SentryBreadcrumb extends _ObjCWrapper {
7119071204
}
7119171205
}
7119271206

71207+
class SentryFeedback extends NSObject {
71208+
SentryFeedback._(ffi.Pointer<ObjCObject> id, SentryCocoa lib,
71209+
{bool retain = false, bool release = false})
71210+
: super._(id, lib, retain: retain, release: release);
71211+
71212+
/// Returns a [SentryFeedback] that points to the same underlying object as [other].
71213+
static SentryFeedback castFrom<T extends _ObjCWrapper>(T other) {
71214+
return SentryFeedback._(other._id, other._lib, retain: true, release: true);
71215+
}
71216+
71217+
/// Returns a [SentryFeedback] that wraps the given raw object pointer.
71218+
static SentryFeedback castFromPointer(
71219+
SentryCocoa lib, ffi.Pointer<ObjCObject> other,
71220+
{bool retain = false, bool release = false}) {
71221+
return SentryFeedback._(other, lib, retain: retain, release: release);
71222+
}
71223+
71224+
/// Returns whether [obj] is an instance of [SentryFeedback].
71225+
static bool isInstance(_ObjCWrapper obj) {
71226+
return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1,
71227+
obj._lib._class_SentryFeedback1);
71228+
}
71229+
71230+
NSString? get name {
71231+
final _ret = _lib._objc_msgSend_20(_id, _lib._sel_name1);
71232+
return _ret.address == 0
71233+
? null
71234+
: NSString._(_ret, _lib, retain: true, release: true);
71235+
}
71236+
71237+
set name(NSString? value) {
71238+
return _lib._objc_msgSend_509(
71239+
_id, _lib._sel_setName_1, value?._id ?? ffi.nullptr);
71240+
}
71241+
71242+
NSString? get email {
71243+
final _ret = _lib._objc_msgSend_20(_id, _lib._sel_email1);
71244+
return _ret.address == 0
71245+
? null
71246+
: NSString._(_ret, _lib, retain: true, release: true);
71247+
}
71248+
71249+
set email(NSString? value) {
71250+
return _lib._objc_msgSend_509(
71251+
_id, _lib._sel_setEmail_1, value?._id ?? ffi.nullptr);
71252+
}
71253+
71254+
NSString? get message {
71255+
final _ret = _lib._objc_msgSend_20(_id, _lib._sel_message1);
71256+
return _ret.address == 0
71257+
? null
71258+
: NSString._(_ret, _lib, retain: true, release: true);
71259+
}
71260+
71261+
set message(NSString? value) {
71262+
return _lib._objc_msgSend_509(
71263+
_id, _lib._sel_setMessage_1, value?._id ?? ffi.nullptr);
71264+
}
71265+
71266+
SentryId1? get eventId {
71267+
final _ret = _lib._objc_msgSend_1062(_id, _lib._sel_eventId1);
71268+
return _ret.address == 0
71269+
? null
71270+
: SentryId1._(_ret, _lib, retain: true, release: true);
71271+
}
71272+
71273+
/// PNG data for the screenshot image
71274+
NSData? get screenshot {
71275+
final _ret = _lib._objc_msgSend_39(_id, _lib._sel_screenshot1);
71276+
return _ret.address == 0
71277+
? null
71278+
: NSData._(_ret, _lib, retain: true, release: true);
71279+
}
71280+
71281+
/// PNG data for the screenshot image
71282+
set screenshot(NSData? value) {
71283+
return _lib._objc_msgSend_939(
71284+
_id, _lib._sel_setScreenshot_1, value?._id ?? ffi.nullptr);
71285+
}
71286+
71287+
/// The event id that this feedback is associated with, like a crash report.
71288+
NSString? get associatedEventId {
71289+
final _ret = _lib._objc_msgSend_20(_id, _lib._sel_associatedEventId1);
71290+
return _ret.address == 0
71291+
? null
71292+
: NSString._(_ret, _lib, retain: true, release: true);
71293+
}
71294+
71295+
/// The event id that this feedback is associated with, like a crash report.
71296+
set associatedEventId(NSString? value) {
71297+
return _lib._objc_msgSend_509(
71298+
_id, _lib._sel_setAssociatedEventId_1, value?._id ?? ffi.nullptr);
71299+
}
71300+
71301+
@override
71302+
SentryFeedback init() {
71303+
final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1);
71304+
return SentryFeedback._(_ret, _lib, retain: true, release: true);
71305+
}
71306+
71307+
static SentryFeedback new1(SentryCocoa _lib) {
71308+
final _ret =
71309+
_lib._objc_msgSend_2(_lib._class_SentryFeedback1, _lib._sel_new1);
71310+
return SentryFeedback._(_ret, _lib, retain: false, release: true);
71311+
}
71312+
71313+
NSDictionary serialize() {
71314+
final _ret = _lib._objc_msgSend_170(_id, _lib._sel_serialize1);
71315+
return NSDictionary._(_ret, _lib, retain: true, release: true);
71316+
}
71317+
71318+
/// note:
71319+
/// This dictionary is to pass to the block <code>SentryUserFeedbackConfiguration.onSubmitSuccess</code>, describing the contents submitted. This is different from the serialized form of the feedback for envelope transmission, because there are some internal details in that serialization that are irrelevant to the consumer and are not available at the time <code>onSubmitSuccess</code> is called.
71320+
NSDictionary dataDictionary() {
71321+
final _ret = _lib._objc_msgSend_170(_id, _lib._sel_dataDictionary1);
71322+
return NSDictionary._(_ret, _lib, retain: true, release: true);
71323+
}
71324+
71325+
/// note:
71326+
/// Currently there is only a single attachment possible, for the screenshot, of which there can be only one.
71327+
NSArray attachments() {
71328+
final _ret = _lib._objc_msgSend_79(_id, _lib._sel_attachments1);
71329+
return NSArray._(_ret, _lib, retain: true, release: true);
71330+
}
71331+
71332+
static SentryFeedback allocWithZone_(
71333+
SentryCocoa _lib, ffi.Pointer<_NSZone> zone) {
71334+
final _ret = _lib._objc_msgSend_3(
71335+
_lib._class_SentryFeedback1, _lib._sel_allocWithZone_1, zone);
71336+
return SentryFeedback._(_ret, _lib, retain: false, release: true);
71337+
}
71338+
71339+
static SentryFeedback alloc(SentryCocoa _lib) {
71340+
final _ret =
71341+
_lib._objc_msgSend_2(_lib._class_SentryFeedback1, _lib._sel_alloc1);
71342+
return SentryFeedback._(_ret, _lib, retain: false, release: true);
71343+
}
71344+
71345+
static void cancelPreviousPerformRequestsWithTarget_selector_object_(
71346+
SentryCocoa _lib,
71347+
NSObject aTarget,
71348+
ffi.Pointer<ObjCSel> aSelector,
71349+
NSObject anArgument) {
71350+
_lib._objc_msgSend_14(
71351+
_lib._class_SentryFeedback1,
71352+
_lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1,
71353+
aTarget._id,
71354+
aSelector,
71355+
anArgument._id);
71356+
}
71357+
71358+
static void cancelPreviousPerformRequestsWithTarget_(
71359+
SentryCocoa _lib, NSObject aTarget) {
71360+
_lib._objc_msgSend_15(_lib._class_SentryFeedback1,
71361+
_lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id);
71362+
}
71363+
71364+
static bool getAccessInstanceVariablesDirectly(SentryCocoa _lib) {
71365+
return _lib._objc_msgSend_12(_lib._class_SentryFeedback1,
71366+
_lib._sel_accessInstanceVariablesDirectly1);
71367+
}
71368+
71369+
static bool useStoredAccessor(SentryCocoa _lib) {
71370+
return _lib._objc_msgSend_12(
71371+
_lib._class_SentryFeedback1, _lib._sel_useStoredAccessor1);
71372+
}
71373+
71374+
static NSSet keyPathsForValuesAffectingValueForKey_(
71375+
SentryCocoa _lib, NSString? key) {
71376+
final _ret = _lib._objc_msgSend_58(
71377+
_lib._class_SentryFeedback1,
71378+
_lib._sel_keyPathsForValuesAffectingValueForKey_1,
71379+
key?._id ?? ffi.nullptr);
71380+
return NSSet._(_ret, _lib, retain: true, release: true);
71381+
}
71382+
71383+
static bool automaticallyNotifiesObserversForKey_(
71384+
SentryCocoa _lib, NSString? key) {
71385+
return _lib._objc_msgSend_59(
71386+
_lib._class_SentryFeedback1,
71387+
_lib._sel_automaticallyNotifiesObserversForKey_1,
71388+
key?._id ?? ffi.nullptr);
71389+
}
71390+
71391+
static void setKeys_triggerChangeNotificationsForDependentKey_(
71392+
SentryCocoa _lib, NSArray? keys, NSString? dependentKey) {
71393+
_lib._objc_msgSend_82(
71394+
_lib._class_SentryFeedback1,
71395+
_lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1,
71396+
keys?._id ?? ffi.nullptr,
71397+
dependentKey?._id ?? ffi.nullptr);
71398+
}
71399+
71400+
static NSArray classFallbacksForKeyedArchiver(SentryCocoa _lib) {
71401+
final _ret = _lib._objc_msgSend_79(
71402+
_lib._class_SentryFeedback1, _lib._sel_classFallbacksForKeyedArchiver1);
71403+
return NSArray._(_ret, _lib, retain: true, release: true);
71404+
}
71405+
71406+
static NSObject classForKeyedUnarchiver(SentryCocoa _lib) {
71407+
final _ret = _lib._objc_msgSend_2(
71408+
_lib._class_SentryFeedback1, _lib._sel_classForKeyedUnarchiver1);
71409+
return NSObject._(_ret, _lib, retain: true, release: true);
71410+
}
71411+
}
71412+
7119371413
class SentryId1 extends NSObject {
7119471414
SentryId1._(ffi.Pointer<ObjCObject> id, SentryCocoa lib,
7119571415
{bool retain = false, bool release = false})

0 commit comments

Comments
 (0)