Push notification for gmail in iOS app -


For the iOS app connecting to the user's mailbox, I am exploring a reliable way of sending a push notification to the user When new mail is available. (Without voting, of course).

If necessary, I am fine with the installation of a server which will receive a push from Gmail and will send it again as an iOS push. This is not okay, though the user has to configure anything special to work in his account.

Any advice or reference to any library (or external service) will be greatly appreciated.

Thank you!

Unfortunately, there is no way to automatically get updates automatically when a new mail arrives . I would recommend entering an enhancement request for push notifications support in the Gmail API. Instead, you can reduce the resource usage once you have full sync, and then keep an eye on the history ID and can only partially sync from that point.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -