Skip to content

Commit 7255660

Browse files
Fix module links.
1 parent 4cd54fc commit 7255660

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Exposed as `ReactNativePushNotificationIOS` module.
1616
## Installation
1717

1818
When
19-
[`@react-native-community/push-notification-ios`](https://github.com/react-native-community/push-notification-ios)
19+
[`@react-native-community/react-native-push-notification-ios`](https://github.com/react-native-community/react-native-push-notification-ios)
2020
is properly installed & configured by following their installation instructions,
2121
you can install the bindings:
2222

src/ReactNativePushNotificationIOS.re

+19-19
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,22 @@ external localNotification:
5454
localNotification =
5555
"";
5656

57-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
57+
[@bs.module "@react-native-community/push-notification-ios"]
5858
[@bs.scope "default"]
5959
external presentLocalNotification: localNotification => unit =
6060
"presentLocalNotification";
6161

62-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
62+
[@bs.module "@react-native-community/push-notification-ios"]
6363
[@bs.scope "default"]
6464
external scheduleLocalNotification: localNotification => unit =
6565
"scheduleLocalNotification";
6666

67-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
67+
[@bs.module "@react-native-community/push-notification-ios"]
6868
[@bs.scope "default"]
6969
external cancelAllLocalNotifications: unit => unit =
7070
"cancelAllLocalNotifications";
7171

72-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
72+
[@bs.module "@react-native-community/push-notification-ios"]
7373
[@bs.scope "default"]
7474
external removeAllDeliveredNotifications: unit => unit =
7575
"removeAllDeliveredNotifications";
@@ -85,34 +85,34 @@ type deliveredNotification = {
8585
"userInfo": Js.Nullable.t(Js.Json.t),
8686
};
8787

88-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
88+
[@bs.module "@react-native-community/push-notification-ios"]
8989
[@bs.scope "default"]
9090
external getDeliveredNotifications:
9191
(array(deliveredNotification) => unit) => unit =
9292
"getDeliveredNotifications";
9393

94-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
94+
[@bs.module "@react-native-community/push-notification-ios"]
9595
[@bs.scope "default"]
9696
external removeDeliveredNotifications: (~identifiers: array(string)) => unit =
9797
"removeDeliveredNotifications";
9898

99-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
99+
[@bs.module "@react-native-community/push-notification-ios"]
100100
[@bs.scope "default"]
101101
external setApplicationIconBadgeNumber: int => unit =
102102
"setApplicationIconBadgeNumber";
103103

104-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
104+
[@bs.module "@react-native-community/push-notification-ios"]
105105
[@bs.scope "default"]
106106
external getApplicationIconBadgeNumber: (int => unit) => unit =
107107
"getApplicationIconBadgeNumber";
108108

109109
// multiple externals
110-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
110+
[@bs.module "@react-native-community/push-notification-ios"]
111111
[@bs.scope "default"]
112112
external cancelLocalNotifications: unit => unit = "cancelLocalNotifications";
113113

114114
// multiple externals
115-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
115+
[@bs.module "@react-native-community/push-notification-ios"]
116116
[@bs.scope "default"]
117117
external cancelLocalNotificationsWithUserInfo: Js.Json.t => unit =
118118
"cancelLocalNotifications";
@@ -128,7 +128,7 @@ type formattedLocalNotification = {
128128
"userInfo": Js.Nullable.t(Js.Json.t),
129129
};
130130

131-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
131+
[@bs.module "@react-native-community/push-notification-ios"]
132132
[@bs.scope "default"]
133133
external getScheduledLocalNotifications:
134134
(array(formattedLocalNotification) => unit) => unit =
@@ -141,7 +141,7 @@ type registrationError('a) = {
141141
"details": Js.t('a),
142142
};
143143

144-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
144+
[@bs.module "@react-native-community/push-notification-ios"]
145145
[@bs.scope "default"]
146146
external addEventListener:
147147
(
@@ -156,7 +156,7 @@ external addEventListener:
156156
unit =
157157
"addEventListener";
158158

159-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
159+
[@bs.module "@react-native-community/push-notification-ios"]
160160
[@bs.scope "default"]
161161
external removeEventListener:
162162
(
@@ -186,23 +186,23 @@ external requestPermissionsOptions:
186186
"";
187187

188188
// multiple externals
189-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
189+
[@bs.module "@react-native-community/push-notification-ios"]
190190
[@bs.scope "default"]
191191
external requestPermissions: unit => Js.Promise.t(permissions) =
192192
"requestPermissions";
193193

194194
// multiple externals
195-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
195+
[@bs.module "@react-native-community/push-notification-ios"]
196196
[@bs.scope "default"]
197197
external requestPermissionsWithOptions:
198198
requestPermissionsOptions => Js.Promise.t(permissions) =
199199
"requestPermissions";
200200

201-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
201+
[@bs.module "@react-native-community/push-notification-ios"]
202202
[@bs.scope "default"]
203203
external abandonPermissions: unit => unit = "abandonPermissions";
204204

205-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
205+
[@bs.module "@react-native-community/push-notification-ios"]
206206
[@bs.scope "default"]
207207
external checkPermissions: (unit => permissions) => unit = "checkPermissions";
208208

@@ -213,11 +213,11 @@ external fetchResult:
213213
fetchResult =
214214
"";
215215

216-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
216+
[@bs.module "@react-native-community/push-notification-ios"]
217217
[@bs.scope "default"]
218218
external finish: fetchResult => unit = "fetchResult";
219219

220-
[@bs.module "@react-native-community/react-native-push-notification-ios"]
220+
[@bs.module "@react-native-community/push-notification-ios"]
221221
[@bs.scope "default"]
222222
external getInitialNotification:
223223
unit => Js.Promise.t(Js.Nullable.t(Notification.t)) =

0 commit comments

Comments
 (0)