Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions docs/platforms/apple/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,20 +123,12 @@ When set to `true`, the SDK will send session events to Sentry. This is supporte

<SdkOption name="inAppInclude" type="array">

A list of string prefixes of module names that belong to the app. This option takes precedence over `in-app-exclude`.
A list of string prefixes of module names that belong to the app.

Sentry differentiates stack frames that are directly related to your application ("in application") from stack frames that come from other packages such as the standard library, frameworks, or other dependencies. The application package is automatically marked as `inApp`. The difference is visible in [sentry.io](https://sentry.io), where only the "in application" frames are displayed by default.

</SdkOption>

<SdkOption name="inAppExclude" type="array">

A list of string prefixes of module names that do not belong to the app, but rather to third-party packages. Modules considered not part of the app will be hidden from stack traces by default.

This option can be overridden using <PlatformIdentifier name="inAppInclude" />.

</SdkOption>

<SdkOption name="initialScope" type="function" availableSince="8.7.0">

A block that configures the initial scope when starting the SDK.
Expand Down
8 changes: 1 addition & 7 deletions docs/platforms/apple/common/usage/in-app-frames/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you're not familiar with these terms, you can learn more:

## Dynamic Frameworks

If you use dynamic frameworks such as Sentry, the Sentry SDK will mark them as `not inApp`. If you have a private framework that should be marked as `inApp`, use the SentryOptions [`inAppInclude`](/platforms/apple/configuration/options/#inAppInclude) or [`inAppExclude`](/platforms/apple/configuration/options/#inAppExclude).
If you use dynamic frameworks such as Sentry, the Sentry SDK will mark them as `not inApp`. If you have a private framework that should be marked as `inApp`, use the SentryOptions [`inAppInclude`](/platforms/apple/configuration/options/#inAppInclude).


```swift {tabTitle:Swift}
Expand All @@ -30,9 +30,6 @@ SentrySDK.start { options in

// The SDK marks all frameworks starting with MyBusinessLogic as inApp
options.add(inAppInclude: "MyBusinessLogic")

// The SDK marks all frameworks starting with MyFramework as not inApp
options.add(inAppExclude: "MyFramework")
}
```

Expand All @@ -44,9 +41,6 @@ SentrySDK.start { options in

// The SDK marks all frameworks starting with MyBusinessLogic as inApp
[options addInAppInclude:@"MyBusinessLogic"];

// The SDK marks all framework starting with MyFramework as not inApp
[options addInAppExclude:@"MyFramework"];
}];
```

Expand Down
Loading