diff --git a/native/push/android.js b/native/push/android.js --- a/native/push/android.js +++ b/native/push/android.js @@ -18,7 +18,7 @@ +removeAllDeliveredNotifications: () => void, +hasPermission: () => Promise, +getToken: () => Promise, - ... + +NOTIFICATIONS_IMPORTANCE_HIGH: string, }; export type AndroidForegroundMessage = { +body: string, diff --git a/native/push/ios.js b/native/push/ios.js --- a/native/push/ios.js +++ b/native/push/ios.js @@ -26,7 +26,9 @@ // required since CommIOSNotifications subclasses RCTEventEmitter +addListener: (eventName: string) => void, +removeListeners: (count: number) => void, - ... + +FETCH_RESULT_NO_DATA: string, + +FETCH_RESULT_NO_DATA: string, + +FETCH_RESULT_FAILED: string, }; const CommIOSNotifications: CommIOSNotificationsModuleType =