Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Events #3

Merged
merged 2 commits into from
Aug 9, 2023
Merged
Changes from all 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
12 changes: 6 additions & 6 deletions Sources/TwilioEngage/TwilioEngage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public class TwilioEngage: EventPlugin {
}

internal enum Events: String, CaseIterable {
case tapped = "Notification Opened" // App was not running
case received = "Notification Delivered" // App was running
case registered = "Registered for Notifications"
case unregistered = "Unable to Register for Notifications"
case changed = "Notifications Subscription Change"
case declined = "Notifications Subscription Declined"
case tapped = "Push Opened" // App was not running
case received = "Push Delivered" // App was running
case registered = "Registered for Push"
case unregistered = "Unable to Register for Push"
case changed = "Push Subscription Change"
case declined = "Push Subscription Declined"
}

internal let userDefaults = UserDefaults(suiteName: "com.twilio.engage")
Expand Down