Skip to content

Commit

Permalink
feat: enable app installed & updated events
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercy811 committed Mar 29, 2024
1 parent 21c7f09 commit 768fdbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/Classes/SwiftAmplitudeFlutterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ import AmplitudeSwift

amplitude?.logger?.debug(message: "Amplitude has been successfully initialized.")

// TODO(xinyi): add app lifecycle events
// Track DET app lifecycle: application installed and updated events
let utils = DefaultEventUtils(amplitude: amplitude!)
utils.trackAppUpdatedInstalledEvent()

result("init called..")

Expand Down

0 comments on commit 768fdbc

Please sign in to comment.