Reputation: 3
I am looking to develop a mail app that supports both On-Prem Exchange server and Office365. In order to have real-time notifications whenever new emails come into users' mailbox, Exchange Web Service(EWS) push notification seems to be the only option for me. Since I want the app to be able to notify users even when it gets killed or backgrounded, the push notifications have to be sent through Firebase Cloud Messaging (FCM) for Android and Apple Push Notification Service (APNS).
From what I have noticed, EWS does not provide any API to support sending notifications through FCM/APNS. Here is my questions:
Is EWS the really the only option for me to get new-email notifications (need to support both on-prem Exchange and Office365)?
When using EWS, besides hosting a listener server to direct notifications to FCM/APNS, is there any other approach I can use to implement the push notification?
Is there any third party push notification service supporting Exchange in terms of listening notifications and directing it through FCM/APNS?
Since hosting my own listener server requires a lot of back end work and will introduce scaling issues, I just wonder if there is an alternative/work around to make my mail app having real-time new email notification all the time.
Upvotes: 0
Views: 703
Reputation: 1246
Upvotes: 0