-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[quick_actions] Fixed plugin on iOS. Entire lifecycle was not taken care of #2887
Conversation
|
I can't get QuickActions to fire on iOS at all, so I'm hoping this PR will fix it - thank you @olivierbrand . Is there anyway for me to easily test your changes locally? I hope the Flutter team can look at them. I saw your previous PR sat around for ages with no action :-( |
|
This PR fixes our issues with quick_actions on iOS. To use is in your project @jonmountjoy, use this is your pubspec.yaml: quick_actions: # in place till this PR is merged: https://github.com/flutter/plugins/pull/2887
git:
url: https://github.com/Ingenio/flutter-plugins
path: packages/quick_actions |
|
Can this PR be updated and merged? It's required but still open after 3+ months. |
|
Yeah, would be great if this could be merged. |
|
Thanks for the contribution! We apologize for the long delay in triaging this PR. We’re in the process of overhauling our PR triage system to respond much more quickly, as well as working through the backlog. We're in the process of working through various issues and PRs related to |
|
|
At least the backgrounded app case should be testable via integration tests. |
|
|
Yes, XCUITest allows interacting with items on the home screen. See https://stackoverflow.com/questions/63901807/is-there-a-way-to-test-quick-actions-using-xcuitest for instance. |
Ahhh!! I thought about a Flutter UI test and was wondering how that would be possible, I can create a XCUITest |
Description
The PR includes an entire iOS lifecycle, allowing the actions to trigger when the app is in the background and/or not running.
Also modified the Dart example to provide a more accurate view of what is going on by using a dialog rather than changing the title bar (the title bar was not changing when triggered without actions, making it more confusing for the developer)
Related Issues
N/A
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).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?