Skip to content

fix(share_plus): Show NSSharingServicePicker asynchronously on main thread#1223

Merged
miquelbeltran merged 3 commits into
fluttercommunity:mainfrom
Seuleuzeuh:main
Oct 12, 2022
Merged

fix(share_plus): Show NSSharingServicePicker asynchronously on main thread#1223
miquelbeltran merged 3 commits into
fluttercommunity:mainfrom
Seuleuzeuh:main

Conversation

@Seuleuzeuh

@Seuleuzeuh Seuleuzeuh commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Description

In the MacOS implementation of share_plus show the NSSharingServicePicker asynchronously.

For testing purpose i've update the corresponding sample app :
replace filepicker_windows with file_selector, for a working sample in all desktop (MacOS, Windows, Linux).

Related Issues

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I titled the PR using Conventional Commits.
  • I did not modify the CHANGELOG.md nor the pubspec.yaml files.
  • All existing and new tests are passing.
  • The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
  • No, this is not a breaking change.

@miquelbeltran miquelbeltran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thanks for updating the example code as well

Comment thread packages/share_plus/share_plus/example/pubspec.yaml
@miquelbeltran miquelbeltran added Hacktoberfest Issues taking part in Hacktoberfest hacktoberfest-accepted labels Oct 12, 2022
@miquelbeltran

Copy link
Copy Markdown
Member

Just a note, we need clarification if #1177 refers to iOS or macOS (or both)

@Seuleuzeuh

Copy link
Copy Markdown
Contributor Author

Just a note, we need clarification if #1177 refers to iOS or macOS (or both)

Only macOS (the change refer to the file SharePlusMacosPlugin.swift.

@miquelbeltran miquelbeltran merged commit e403cfa into fluttercommunity:main Oct 12, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Hacktoberfest Issues taking part in Hacktoberfest hacktoberfest-accepted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants