aws-mobile-appsync-sdk-android icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-android copied to clipboard

How can I know the time when a subscription has been started.

Open 472574155 opened this issue 6 years ago • 3 comments

State your question just like iOS. https://github.com/awslabs/aws-mobile-appsync-sdk-ios/issues/68

Now,android sdk's interface 'onCompleted' is called when a subscription is terminated.

Environment(please complete the following information):

  • AppSync SDK Version: [2.6.28]

472574155 avatar Nov 28 '18 10:11 472574155

Hi @472574155 thanks for the question. As you point out, there isn't an API currently that will provide status for an active connection; only a callback invoked on termination. I will bring this request to our product team for prioritization, and we will update this thread when there is more information.

palpatim avatar Nov 28 '18 18:11 palpatim

Hello, any update on this? (it's been quite some time :( )

mlykotom avatar Jun 19 '19 10:06 mlykotom

Any updates @palpatim? Not knowing when the subscription starts being active is causing a really annoying bug in our app, where we are losing data changes if there is any delay in the subscription initialization.

marekabaffy avatar Sep 30 '19 14:09 marekabaffy