UNPKG

react-native-notifications-pfy

Version:

Advanced Push Notifications (Silent, interactive notifications) for iOS & Android + Schedule Module

10 lines (9 loc) 528 B
import { EmitterSubscription } from 'react-native'; import { NativeEventsReceiver } from '../adapters/NativeEventsReceiver'; import { RegisteredPushKit } from '../interfaces/NotificationEvents'; export declare class EventsRegistryIOS { private nativeEventsReceiver; constructor(nativeEventsReceiver: NativeEventsReceiver); registerPushKitRegistered(callback: (event: RegisteredPushKit) => void): EmitterSubscription; registerPushKitNotificationReceived(callback: (event: object) => void): EmitterSubscription; }