Skip to content

Commit

Permalink
fix(ios): local notifications registration
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Louvigny authored and glouvigny committed Feb 4, 2019
1 parent 29f565f commit 3955fcb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/react-native/ios/modules/core/Notification.swift
Expand Up @@ -18,6 +18,10 @@ class Notification: NSObject, UNUserNotificationCenterDelegate, CoreNativeNotifi

override init () {
super.init()

if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self
}
}

func userNotificationCenter(
Expand Down

0 comments on commit 3955fcb

Please sign in to comment.