react-native-batch-push
react-native-batch-push copied to clipboard
[iOS] Wrong timestamp in Inbox notifications
There is like 6 hours of offset.
@guenard Would you know by any chance how to correctly handle the BatchInboxNotificationContent.date? We try to convert it to milliseconds here but it gives 6 hours of offset. It either looks like there is an overflow somewhere or the Batch SDK has some offset
https://github.com/bamlab/react-native-batch-push/blob/fbe15a9c6292defed12b3f46b1ab66504ea6b9ab/ios/RNBatchPush.m#L59
As a matter of fact, there was no issue: the phone was is the wrong timezone with the wrong time! 🎊