AppSync supports graphql subscriptions on mutations. They’re delivered using to the browser using MQTT.
MQTT via WebSockets?
Is this using AWS IoT?
Yes
I don’t know.
ah, thanks, that's what i wanted to ask. Since it's MQTT, how does it support iOS when the app is in the background? or it won't support that scenario on iOS? On Android, does it also use MQTT to maintain a connection? instead of using FCM/GCM? On the browser, how's the MQTT connection maintained? does it have service worker support for "offline" use cases?
I haven’t been able to ascertain that from the docs. There could be different transports for web and iOS. All I know is web uses MQTT over web sockets and the Apollo library is used for offline and cache support.
Thanks for the response. I should have been more specific, what's AppSync's mechanism for push notification for the 3 platforms: FCM (GCM?) for Android? APNs for iOS? HTML5 Push API for browsers?
Ah okay :D
I don't know, but when using AWS, SNS is the push based solution.