Skip to content

Commit

Permalink
Removing extraneous testing setup from basic example
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGHSeg committed Nov 15, 2024
1 parent 4de3ecd commit 728eec6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Examples/apps/BasicExample/BasicExample/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.

let configuration = Configuration(writeKey: "eHitWfSPZKoXF8c6iVb6QRlIPA6P9X8G")
let configuration = Configuration(writeKey: "WRITE KEY")
.trackApplicationLifecycleEvents(true)
.flushInterval(10)
.flushAt(2)

Telemetry.shared.flushTimer = 5 * 1000
Telemetry.shared.enable = true
// Telemetry.shared.sendErrorLogData = true
// Telemetry.shared.host = "webhook.site/8d339731-c5a7-45b5-9b82-d545b6e48e6c"
analytics = Analytics(configuration: configuration)

return true
Expand Down

0 comments on commit 728eec6

Please sign in to comment.