@@ -28,23 +28,17 @@ import ObjectiveC
2828@objc @_spi ( Private) public class SentryInAppLogic : NSObject {
2929
3030 @objc public let inAppIncludes : [ String ]
31- private let inAppExcludes : [ String ]
3231
3332 /**
34- * Initializes @c SentryInAppLogic with @c inAppIncludes and @c inAppExcludes .
33+ * Initializes @c SentryInAppLogic with @c inAppIncludes.
3534 *
3635 * To work properly for Apple applications the @c inAppIncludes should contain the
3736 * @c CFBundleExecutable, which is the name of the bundle's executable file.
3837 *
39- * @param inAppIncludes A list of string prefixes of framework names that belong to the app. This
40- * option takes precedence over @c inAppExcludes.
41- * @param inAppExcludes A list of string prefixes of framework names that do not belong to the app,
42- * but rather to third-party packages. Modules considered not part of the app will be hidden from
43- * stack traces by default.
38+ * @param inAppIncludes A list of string prefixes of framework names that belong to the app.
4439 */
45- @objc ( initWithInAppIncludes: inAppExcludes : ) public init ( inAppIncludes: [ String ] , inAppExcludes : [ String ] ) {
40+ @objc ( initWithInAppIncludes: ) public init ( inAppIncludes: [ String ] ) {
4641 self . inAppIncludes = inAppIncludes. map { $0. lowercased ( ) }
47- self . inAppExcludes = inAppExcludes. map { $0. lowercased ( ) }
4842 super. init ( )
4943 }
5044
@@ -72,12 +66,6 @@ import ObjectiveC
7266 }
7367 }
7468
75- for inAppExclude in inAppExcludes {
76- if imageNameLastPathComponent. hasPrefix ( inAppExclude) {
77- return false
78- }
79- }
80-
8169 return false
8270 }
8371
0 commit comments