Last active
December 12, 2015 06:48
-
-
Save Broich/4731337 to your computer and use it in GitHub Desktop.
DWBN iPhone API 1.1
Changelog - Tec Doc
This file contains hidden or 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
DWBN iPhone API 1.1 | |
Changelog - Tec Doc | |
=================== | |
- API now is written with CodeIgniter (PHP-framework) in order to provide more stability. | |
- Therefor complete refactoring of all I/O scripts (user authentification, device token, session information, translations) | |
Push Notifications: | |
A cronjob is starting a script every 10 minutes. | |
The script essentially does the following: | |
- fetch the schedule xml data and parse through it to find the most recent entry (publishing date) | |
- once it has found the most recent entry it compares this date to the reference date stored in the database (which is the date the last push notification was send). | |
- if the dates are not the same a push notification is send and the new reference date is stored in the database | |
Notes: | |
- Note that all users who can't or don't want to update to 1.1 can still talk to API 1.0. However, Push Notifications are not available. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment