Skip to content

Commit d73193f

Browse files
committed
Readjust requestPermissionsOptions to remove incorrect accepted values
Ref 3e69440
1 parent 3096ff5 commit d73193f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/ReactNativePushNotificationIOS.re

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,7 @@ type permissions = {
201201
type requestPermissionsOptions;
202202
[@bs.obj]
203203
external requestPermissionsOptions:
204-
(
205-
~alert: bool=?,
206-
~badge: bool=?,
207-
~sound: bool=?,
208-
~lockScreen: bool=?,
209-
~notificationCenter: bool=?,
210-
unit
211-
) =>
204+
(~alert: bool=?, ~badge: bool=?, ~sound: bool=?, unit) =>
212205
requestPermissionsOptions;
213206

214207
// multiple externals

0 commit comments

Comments
 (0)