Commit cf4919ce authored by Benoist Claassen's avatar Benoist Claassen

added registerForRemoteNotifications fixes #44

parent 16c1791f
......@@ -100,6 +100,7 @@ RCT_EXPORT_METHOD(requestPermissions)
UIUserNotificationSettings *notificationSettings =
[UIUserNotificationSettings settingsForTypes:(NSUInteger)types categories:nil];
[app registerUserNotificationSettings:notificationSettings];
[app registerForRemoteNotifications];
} else {
[app registerForRemoteNotificationTypes:(NSUInteger)types];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment