3 ms·
Copied from another thread where I talked about this issue: I think the issue here is that it isn't really "push" that Sparrow wants to do. From what I can tel
by Xuzz 15y ago
Copied from another thread where I talked about this issue:
I think the issue here is that it isn't really "push" that Sparrow wants to do. From what I can tell, what they want to do is simply "run all the time so we can keep a connection open to receive new messages immediately". Which, to be fair, is pretty similar to what Apple does for their push notifications (including for Exchange).
However, Apple allowing this would be a bad move for the platform. It'd mean that rather than once centralized connection that knows about the device's network state and can (at least try to) preserve battery life or consolidate network usage, you'd then have as many as one per app, each always open, running code, and listening. (Once Sparrow does this, then why wouldn't any other app? It is much simpler to implement if allowed.)
The real issue here is that, from their responses, it seems that Google doesn't have some sort of authentication method like that could be used to get access to just enough information to pass the push data to Apple — or, at least, not one (like OAuth) that doesn't need them to remotely store a username and password. 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). But I don't know if Google does that, and their responses don't seem encouraging that something like this would be possible.
- bgentry 15y agoCopied 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.