This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[camera] Run iOS methods on UI thread by default #4140
Merged
fluttergithubbot
merged 40 commits into
flutter:master
from
Baseflow:bugfix/camera-threading
Oct 20, 2021
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
dea50fc
Only run `initWithCameraName` on background thread.
renefloor da83b51
run camera start async
renefloor 277d923
Start with migrating to ThreadSafeFlutterResult
renefloor 9bd75bd
Migrated all results to thread safe class
renefloor a079af9
make data nonNullable
renefloor bd7d8eb
copyright
renefloor f0a2bb0
Merge remote-tracking branch 'flutter/master' into bugfix/camera-thre…
renefloor 4125244
Added method channel tests
renefloor 71e321e
Extend unit test
renefloor bdfde1a
replace dispatch loop with notifications
renefloor e6b848c
Made test much cleaner
renefloor d59a80d
add return for error
renefloor 0f35095
changelog and pubspec
renefloor 0b63dea
Add documentation
renefloor 8bc557f
Merge branch 'master' into bugfix/camera-threading
renefloor b53ab3e
Make interface an extension
renefloor b6acf82
Increase timeout
renefloor 9f31156
Merge remote-tracking branch 'flutter/master' into bugfix/camera-thre…
renefloor a4cf79e
update broken test
renefloor 2b84db2
Documentation improvements
renefloor 92c2d00
Make result methods verbs
renefloor 2722cf4
small doc changes
renefloor 4a1155a
remove notification center
renefloor 04566ae
Added unit test for thread safe result
renefloor 57c63ae
add extra comment
renefloor 5c69728
Merge branch 'master' of https://github.com/flutter/plugins into bugf…
mvanbeusekom e2ba654
Revert removing handleMethodCallAsync.
mvanbeusekom 17d1f5d
Fix unit tests
mvanbeusekom a0be148
Merge remote-tracking branch 'upstream/master' into bugfix/camera-thr…
mvanbeusekom ee453bc
Removed left over GIT merge tag
mvanbeusekom cd48ddd
Applied feedback on PR
mvanbeusekom 98fe08a
Merge remote-tracking branch 'upstream/master' into bugfix/camera-thr…
mvanbeusekom a4e5262
Remove development team from project file
mvanbeusekom 39d1438
Remove custom setting from XCScheme
mvanbeusekom 3a12cbf
Clean up mock
mvanbeusekom 8e8bdfc
Clean reference to CameraPlugin
mvanbeusekom 3e86910
Apply feedback from PR.
mvanbeusekom 9093887
Merge remote-tracking branch 'upstream/master' into bugfix/camera-thr…
mvanbeusekom 1d51203
Apply review feedback.
mvanbeusekom f0b9f53
Merge remote-tracking branch 'upstream/master' into bugfix/camera-thr…
mvanbeusekom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clean reference to CameraPlugin
- Loading branch information
commit 8e8bdfc71969bfacb0d8aeb1c743fb7af538d3f7
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would actually much rather the ivars, the setup, and the teardown all be removed, and those two lines move into the test. Per the article I linked in a recent PR comment, stateless fixtures >> stateful fixtures, and in this case we're only saving two lines of boilerplate (assuming we eventually have more tests in this file; right now this is actually more code in order to theoretically reduce future duplication.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.