This differential saves encrypted payload hash for each encrypted iOS notification in MariaDB. Combined with the parent differential this differential enables us to check if there is a match between the hash of notification delivered to iOS device and notification sent from the keyserver.
- Build iOS app.
- Send notification.
- Check in MariaDB that there is an entry with delivery that contains non-empty array of sha 256 hashes.
|1052–1059 ↗||(On Diff #31044)|
It's good to always improve types when you touch them. Can this object be made read-only?
|1105 ↗||(On Diff #31044)|
How will we know which encrypted payload hash corresponds to which device? What do you think of having an object pointing from deviceToken to the payload hash?