3 ms·
AppSync supports graphql subscriptions on mutations. They’re delivered using to the browser using MQTT.
by ryanmarsh 9y ago
AppSync supports graphql subscriptions on mutations. They’re delivered using to the browser using MQTT.
- k__ 9y agoMQTT via WebSockets? Is this using AWS IoT?
- ryanmarsh 9y agoYes I don’t know.
- fredliu 9y agoah, 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?
- ryanmarsh 9y agoI 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.