Skip to content

Commit

Permalink
docs: documents update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhao900914 committed Feb 10, 2021
1 parent b6654c0 commit 823f466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Classes/SwiftAmplitudeFlutterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ import Amplitude
case "regenerateDeviceId":
Amplitude.instance(withName: instanceName).regenerateDeviceId()
result(true)

// Event logging
case "logEvent":
let eventType = args["eventType"] as! String
let eventProperties = args["eventProperties"] as! [String: Any]?
Expand All @@ -96,8 +98,6 @@ import Amplitude
withEventProperties: eventProperties,
outOfSession: outOfSession)
result(true)

// Event logging
case "logRevenue":
let productIdentifier = args["productIdentifier"] as! String
let quantity = args["quantity"] as! Int
Expand Down

0 comments on commit 823f466

Please sign in to comment.