Merge pull request #15958 from systemride/getInitialNotification

react-native: PushNotificationIOS.getInitialNotification should return a Promise
This commit is contained in:
Eloy Durán
2017-04-20 20:51:23 +02:00
committed by GitHub

View File

@@ -7226,7 +7226,7 @@ export interface PushNotificationIOSStatic {
* This method returns a promise that resolves to either the notification
* object if the app was launched by a push notification, or `null` otherwise.
*/
getInitialNotification(): PushNotification
getInitialNotification(): Promise<PushNotification>
}
export interface SettingsStatic {