Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: skip network monitoring for watchOS, add watchOS client timeout #139

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lawmicha
Copy link
Member

@lawmicha lawmicha commented Oct 4, 2023

Issue #, if available:
aws-amplify/amplify-swift#3220

  • Developer is using DataStore.
  • SyncEngine is stalled on subscriptions since it's waiting to connect, as it thinks network is down (when in reality it is not).

Testing done in aws-amplify/amplify-swift#3272

Description of changes:
Skip networking monitoring when it is watchOS platform. networking monitoring is an optimization that we can't do when NWPathMonitor returns "unsatisfied" even when there is a network on the physical watch device.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lawmicha lawmicha marked this pull request as ready for review October 4, 2023 16:35
@lawmicha lawmicha requested a review from a team as a code owner October 4, 2023 16:35
@lawmicha lawmicha marked this pull request as draft November 9, 2023 14:50
@lawmicha lawmicha changed the title fix: skip network monitoring for watchOS feat: skip network monitoring for watchOS, add watchOS client timeout Nov 23, 2023
@lawmicha lawmicha marked this pull request as ready for review November 23, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant