Skip to content

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

Open
lawmicha wants to merge 6 commits into
mainfrom
fix-watchos
Open

feat: skip network monitoring for watchOS, add watchOS client timeout#139
lawmicha wants to merge 6 commits into
mainfrom
fix-watchos

Conversation

@lawmicha

@lawmicha lawmicha commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

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