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 {
77
77
_isRemote : boolean ;
78
78
_remoteNotificationCompleteCallbackCalled : boolean ;
79
79
_threadID : string ;
80
+ _fireDate : string | Date ;
80
81
81
82
static FetchResult : FetchResult = {
82
83
NewData : 'UIBackgroundFetchResultNewData' ,
@@ -388,6 +389,7 @@ class PushNotificationIOS {
388
389
this . _category = notifVal . category ;
389
390
this . _contentAvailable = notifVal [ 'content-available' ] ;
390
391
this . _threadID = notifVal [ 'thread-id' ] ;
392
+ this . _fireDate = notifVal . fireDate ;
391
393
} else {
392
394
this . _data [ notifKey ] = notifVal ;
393
395
}
@@ -399,6 +401,7 @@ class PushNotificationIOS {
399
401
this . _alert = nativeNotif . alertBody ;
400
402
this . _data = nativeNotif . userInfo ;
401
403
this . _category = nativeNotif . category ;
404
+ this . _fireDate = nativeNotif . fireDate ;
402
405
}
403
406
}
404
407
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @react-native-community/push-notification-ios" ,
3
- "version" : " 1.2.0 " ,
3
+ "version" : " 1.2.1 " ,
4
4
"description" : " React Native Push Notification API for iOS" ,
5
5
"main" : " js/index.js" ,
6
6
"types" : " index.d.ts" ,
You can’t perform that action at this time.
0 commit comments