Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from ParsePlatform/gFosco.pushUTC
Updated push handling for local or non-local time push.
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3b1b267
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: this change leads to backwards compatibility break!
Anyone who will update SDK to 1.1.4 (like me) will have hidden surprise in production: all scheduled pushes will begin to arrive to users not on their local time, but on UTC instead. Which is a big difference (at least for us).
Probably flag 'utc_time' will serve purpose better, with meaning “if set to true, format push_time as UTC time”.
Also note there is no word in docs on this: https://parse.com/docs/php/guide#push-notifications-scheduling-pushes