Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 0 additions & 2 deletions src/apple/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const scriptInputPath =
export function getSwiftSnippet(dsn: string, enableLogs: boolean): string {
let snippet = ` SentrySDK.start { options in
options.dsn = "${dsn}"
options.debug = true // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down Expand Up @@ -72,7 +71,6 @@ export function getSwiftSnippet(dsn: string, enableLogs: boolean): string {
export function getObjcSnippet(dsn: string, enableLogs: boolean): string {
let snippet = ` [SentrySDK startWithConfigureOptions:^(SentryOptions * options) {
options.dsn = @"${dsn}";
options.debug = YES; // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down
3 changes: 0 additions & 3 deletions test/apple/code-tools.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
SentrySDK.start { options in
options.dsn = "https://example.com/sentry-dsn"
options.debug = true // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down Expand Up @@ -93,7 +92,6 @@ const validAppDelegateObjCWithSentry = `@import Sentry;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[SentrySDK startWithConfigureOptions:^(SentryOptions * options) {
options.dsn = @"https://example.com/sentry-dsn";
options.debug = YES; // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down Expand Up @@ -148,7 +146,6 @@ struct TestApp: App {
init() {
SentrySDK.start { options in
options.dsn = "https://example.com/sentry-dsn"
options.debug = true // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down
4 changes: 0 additions & 4 deletions test/apple/templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ fi
expect(snippet).toBe(
` SentrySDK.start { options in
options.dsn = "test-dsn"
options.debug = true // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down Expand Up @@ -161,7 +160,6 @@ fi
expect(snippet).toBe(
` SentrySDK.start { options in
options.dsn = "test-dsn"
options.debug = true // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down Expand Up @@ -200,7 +198,6 @@ fi
expect(snippet).toBe(
` [SentrySDK startWithConfigureOptions:^(SentryOptions * options) {
options.dsn = @"test-dsn";
options.debug = YES; // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down Expand Up @@ -234,7 +231,6 @@ fi
expect(snippet).toBe(
` [SentrySDK startWithConfigureOptions:^(SentryOptions * options) {
options.dsn = @"test-dsn";
options.debug = YES; // Enabled debug when first installing is always helpful

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down
Loading