jonsaw / amazon-cognito-identity-dart

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
204 stars 93 forks source link

AppSync Subscription Sample? #43

Closed bobwiller closed 5 years ago

bobwiller commented 5 years ago

So I have been able to use the plugin to send GraphQL mutations and queries to AppSync, but has anyone been able to setup a working subscription? The websocket / mqtt endpoint seems to be extremely particular... Thanks, Bob

bobwiller commented 5 years ago

If anyone wants an example - https://gist.github.com/bobwiller/b669f3476fcd2805b4f25b96243d859a