File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ class PushNotificationIOS {
7777 _isRemote : boolean ;
7878 _remoteNotificationCompleteCallbackCalled : boolean ;
7979 _threadID : string ;
80+ _fireDate : string | Date ;
8081
8182 static FetchResult : FetchResult = {
8283 NewData : 'UIBackgroundFetchResultNewData' ,
@@ -388,6 +389,7 @@ class PushNotificationIOS {
388389 this . _category = notifVal . category ;
389390 this . _contentAvailable = notifVal [ 'content-available' ] ;
390391 this . _threadID = notifVal [ 'thread-id' ] ;
392+ this . _fireDate = notifVal . fireDate ;
391393 } else {
392394 this . _data [ notifKey ] = notifVal ;
393395 }
@@ -399,6 +401,7 @@ class PushNotificationIOS {
399401 this . _alert = nativeNotif . alertBody ;
400402 this . _data = nativeNotif . userInfo ;
401403 this . _category = nativeNotif . category ;
404+ this . _fireDate = nativeNotif . fireDate ;
402405 }
403406 }
404407
Original file line number Diff line number Diff line change 11{
22 "name" : " @react-native-community/push-notification-ios" ,
3- "version" : " 1.2.0 " ,
3+ "version" : " 1.2.1 " ,
44 "description" : " React Native Push Notification API for iOS" ,
55 "main" : " js/index.js" ,
66 "types" : " index.d.ts" ,
You can’t perform that action at this time.
0 commit comments