diff --git a/Sources/Core/AppEvents/AppEventsLogger.swift b/Sources/Core/AppEvents/AppEventsLogger.swift index 598d5e55..a0c347a9 100644 --- a/Sources/Core/AppEvents/AppEventsLogger.swift +++ b/Sources/Core/AppEvents/AppEventsLogger.swift @@ -140,6 +140,19 @@ public class AppEventsLogger { log(event, accessToken: accessToken) } + //-------------------------------------- + // MARK: - Push Notifications + //-------------------------------------- + + /** + Sets a device token to register the current application installation for push notifications. + */ + public static var pushNotificationsDeviceToken: Data? { + didSet{ + FBSDKAppEvents.setPushNotificationsDeviceToken(pushNotificationsDeviceToken) + } + } + //-------------------------------------- // MARK: - Flush //--------------------------------------