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: Always perform window enumeration on the main thread #16

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

denessapi
Copy link
Collaborator

It is not guaranteed that the subscribe and unsubscribe methods are called from the main thread, but window enumeration should always happen on the main thread. To ensure it the window enumeration has to be dispatched to the main thread.

It is not guaranteed that the subscribe and unsubscribe methods are
called from the main thread, but window enumeration should always
happen on the main thread. To ensure it the window enumeration has to
be dispatched to the main thread.
@denessapi denessapi force-pushed the denes/changes-for-capacitor-plugin branch from 5569c42 to eb55095 Compare March 1, 2024 22:48
The Xcode version should be set on macOS13 as well, as the latest
version does not support IOS 16.
@denessapi denessapi force-pushed the denes/changes-for-capacitor-plugin branch from c4fb842 to 3ac8048 Compare March 1, 2024 23:07
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 62.50000% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 79.24%. Comparing base (3ab1c24) to head (3ac8048).

❗ Current head 3ac8048 differs from pull request most recent head ef5448f. Consider uploading reports for the commit ef5448f to get more accurate results

Files Patch % Lines
Sources/Trap/Datasource/Gesture/Gesture.swift 62.50% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   79.29%   79.24%   -0.05%     
==========================================
  Files          60       60              
  Lines        4617     4636      +19     
==========================================
+ Hits         3661     3674      +13     
- Misses        956      962       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@denessapi denessapi requested a review from gbence March 2, 2024 09:54
Copy link
Contributor

@gbence gbence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@denessapi denessapi merged commit 3d876be into main Mar 4, 2024
2 checks passed
@denessapi denessapi deleted the denes/changes-for-capacitor-plugin branch March 5, 2024 13:30
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.

3 participants