Closed MasonTyTran closed 11 months ago
Thank you for opening this issue. AWS AppSync SDK for iOS entered maintenance mode in September 2023 and will receive no further updates as of September 2024.
Please use Amplify Swift going forward. For information on upgrading to Amplify Swift, refer to the Upgrade from AppSync SDK documentation.
Describe the bug Unknow TCP connection process keep running and sending/receive package even when all subscriptions is unsubscribed
To Reproduce Steps to reproduce the behavior:
Expected behavior No TCP connection is alive
Screenshots Subscribe then unsubscribe -> 2 duplicated tcp connections and both of them periodically send/receive package
Never subscribe - There is one tcp connections and do not send/receive package periodically
Those IPs are belong to aws
Environment(please complete the following information):
Device Information (please complete the following information):
Additional context I implement location updating in background and want to stop all appsync socket during background time to reduce energy usage but if I subscribe even 1 time to awsappsync then unsubscribe all, I still see some aws tcp connection is being active and receiving/sending data periodically