|
@@ -211,8 +211,15 @@ export async function request(
|
211
|
211
|
return RESULTS.UNAVAILABLE;
|
212
|
212
|
}
|
213
|
213
|
|
214
|
|
-export const checkNotifications = RNPermissions.checkNotifications;
|
215
|
|
-export const requestNotifications = RNPermissions.requestNotifications;
|
|
214
|
+export function checkNotifications(): Promise<NotificationsResponse> {
|
|
215
|
+ return RNPermissions.checkNotifications();
|
|
216
|
+}
|
|
217
|
+
|
|
218
|
+export function requestNotifications(
|
|
219
|
+ options: NotificationOption[],
|
|
220
|
+): Promise<NotificationsResponse> {
|
|
221
|
+ return RNPermissions.requestNotifications(options);
|
|
222
|
+}
|
216
|
223
|
|
217
|
224
|
export default {
|
218
|
225
|
PERMISSIONS,
|