Add PushNotificationIOS `getAuthorizationStatus` method · rescript-react-native/rescript-react-native@ffc2f0c

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit ffc2f0c

committed

Add PushNotificationIOS getAuthorizationStatus method

1 parent cc4132b commit ffc2f0c

File tree

1 file changed

+

3

-

0

lines changed

1 file changed

+

3

-

0

lines changed

Lines changed: 3 additions & 0 deletions

Original file line numberDiff line numberDiff line change

@@ -169,3 +169,6 @@ external finish: fetchResult => unit = "fetchResult"

169169

@module("react-native") @scope("PushNotificationIOS")

170170

external getInitialNotification: unit => Js.Promise.t<Js.Nullable.t<Notification.t>> =

171171

"getInitialNotification"

172+
173+

@module("react-native") @scope("PushNotificationIOS")

174+

external getAuthorizationStatus: (float => unit) => unit = "getAuthorizationStatus"

0 commit comments

Comments

 (0)