quickhac / qhac-ios

Native iOS app to allow checking of grades, based on the QuickHAC Chrome extension.
0 stars 0 forks source link

Push notifications #11

Closed tristanseifert closed 10 years ago

tristanseifert commented 10 years ago

They should be opt-in. And something should magically happen.

tristanseifert commented 10 years ago

iOS is a gigantic steaming heap of shit and we can't use APNS to send a "content change" notification and request that the device do the lookup itself, as iOS refuses to allow requests to work the way we need them to.

This is because NSURLSession queues requests we create in the background for an external daemon to execute, so our callback methods are never getting called. Usage of anything else that's not NSURLSession just causes the app to either crash or hang.

tristanseifert commented 10 years ago

I'm currently in the process of writing a server-side API to control push notifications. See this page for information regarding the API.

tristanseifert commented 10 years ago

This isn't going to happen for now due to some possible problems with FERPA and districts. We'll re-evaluate this in the future.