Skip to content

Commit

Permalink
fix return notification fireDate
Browse files Browse the repository at this point in the history
  • Loading branch information
narender2031 committed Mar 19, 2020
1 parent 99a0228 commit 12200f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class PushNotificationIOS {
_isRemote: boolean;
_remoteNotificationCompleteCallbackCalled: boolean;
_threadID: string;
_fireDate: string | Date;

static FetchResult: FetchResult = {
NewData: 'UIBackgroundFetchResultNewData',
Expand Down Expand Up @@ -353,6 +354,7 @@ class PushNotificationIOS {
this._alert = nativeNotif.alertBody;
this._data = nativeNotif.userInfo;
this._category = nativeNotif.category;
this._fireDate = nativeNotif.fireDate;
}
}

Expand Down

0 comments on commit 12200f0

Please sign in to comment.