ILocalNotificationsService

public protocol ILocalNotificationsService

Undocumented

  • Register local and remote notifications. Add next code to AppDelegate!

    func application(_ application: UIApplication, didRegister notificationSettings: UIUserNotificationSettings) {
        let name = NSNotification.Name.init(RKILocalNotificationsServiceKeyNotificationRegistration)
        NotificationCenter.default.post(name: name, object: notificationSettings, userInfo: nil)
    }
    

    Declaration

    Swift

    func registration(completion: @escaping RegistrationCompletion)