Skip to content

Commit

Permalink
Temporarily disable TipKit (#3564)
Browse files Browse the repository at this point in the history
**IMPORTANT:** Before merging, please update the target branch to
internal. I haven't done that yet because the internal branch isn't yet
available.

Task/Issue URL:
https://app.asana.com/0/1207603085593419/1208724397684354/f

## Description

TipKit's `configure` call is causing crashes in iOS.
  • Loading branch information
diegoreymendez authored Nov 18, 2024
1 parent 700dcec commit 5f89b4b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions DuckDuckGo/TipKit/TipKitAppEventHandling.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,15 @@ struct TipKitAppEventHandler: TipKitAppEventHandling {

func appDidFinishLaunching() {
if #available(iOS 17.0, *) {
controller.configureTipKit([
.displayFrequency(.immediate),
.datastoreLocation(.applicationDefault)
])
// TipKit is temporarily disabled.
// See https://app.asana.com/0/inbox/1203108348814444/1208724397684354/1208739407931826
// for more information
logger.log("TipKit is temporarily disabled.")

// controller.configureTipKit([
// .displayFrequency(.immediate),
// .datastoreLocation(.applicationDefault)
// ])
} else {
logger.log("TipKit initialization skipped: iOS 17.0 or later is required.")
}
Expand Down

0 comments on commit 5f89b4b

Please sign in to comment.