File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,8 @@ SENTRY_NO_INIT
271271 */
272272+ (void )captureFeedback : (SentryFeedback *)feedback NS_SWIFT_NAME(capture(feedback:));
273273
274+ #if TARGET_OS_IOS && SENTRY_HAS_UIKIT
275+
274276/* *
275277 * Show the feedback widget button.
276278 * @warning This is an experimental feature and may still have bugs.
@@ -287,6 +289,8 @@ SENTRY_NO_INIT
287289 */
288290+ (void )hideFeedbackWidget API_AVAILABLE (ios(13.0 ));
289291
292+ #endif // TARGET_OS_IOS && SENTRY_HAS_UIKIT
293+
290294/* *
291295 * Adds a Breadcrumb to the current Scope of the current Hub. If the total number of breadcrumbs
292296 * exceeds the @c SentryOptions.maxBreadcrumbs the SDK removes the oldest breadcrumb.
Original file line number Diff line number Diff line change @@ -432,6 +432,8 @@ + (void)captureFeedback:(SentryFeedback *)feedback
432432 [SentrySDK.currentHub captureFeedback: feedback];
433433}
434434
435+ #if TARGET_OS_IOS && SENTRY_HAS_UIKIT
436+
435437+ (void )showFeedbackWidget
436438{
437439 if (@available (iOS 13.0 , *)) {
@@ -454,6 +456,8 @@ + (void)hideFeedbackWidget
454456 }
455457}
456458
459+ #endif // TARGET_OS_IOS && SENTRY_HAS_UIKIT
460+
457461+ (void )addBreadcrumb : (SentryBreadcrumb *)crumb
458462{
459463 [SentrySDK.currentHub addBreadcrumb: crumb];
You can’t perform that action at this time.
0 commit comments