3 ms·
Copied my response =) If there was a way for them to get some sort of useless "token" to get the notifications themselves and pass them to Apple, I don't think
by bgentry 15y ago
Copied my response =)
If there was a way for them to get some sort of useless "token" to get the notifications themselves and pass them to Apple, I don't think the security issues would be anywhere near as severe (especially if it was an opt-in service).
Good point, that would be a much better solution. All they'd need is a web hook to let them know when there is new email for an account. They could use that to send a push notification with the correct badge count for unread messages.
That's what we should really be petitioning for.
- Robin_Message 15y agoYou could get users to give you a read-only OAuth token for their GMail inbox, which is an extra step (although you can do it for them on the device where you have the username and password, and then send just the token to your server.) Then your server can do the polling and push to the iPhone via an approved technique. https://developers.google.com/google-apps/gmail/#gmail_inbox_feed https://developers.google.com/google-apps/gmail/#gmail_inbox... gives some details. Contrary to what it says there, it seems to work for gmail.com and google apps addresses.