Commit e5feb9ff authored by Ran Greenberg's avatar Ran Greenberg

add isRegisteredForRemoteNotifications to JS API

parent baac9191
...@@ -203,4 +203,8 @@ export default class NotificationsIOS { ...@@ -203,4 +203,8 @@ export default class NotificationsIOS {
static cancelAllLocalNotifications() { static cancelAllLocalNotifications() {
NativeRNNotifications.cancelAllLocalNotifications(); NativeRNNotifications.cancelAllLocalNotifications();
} }
static async isRegisteredForRemoteNotifications() {
return await NativeRNNotifications.isRegisteredForRemoteNotifications();
}
} }
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