Skip to content

[camera_avfoundation] Implementation swift migration - part 3 #9182

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

Conversation

RobertOdrowaz
Copy link
Contributor

Migrates camera implementation as part of flutter/flutter#119109

This PR prepares for the next big one (FLTCam class migration):

  1. Extracts a util method for creating a test FLTCam instance. After migration, the FLTCam constructor is marked with throws so it requires some asserts to ignore it in tests
  2. Removes dependence on KVO in StreamingTests

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

@RobertOdrowaz RobertOdrowaz force-pushed the feature/camera-implementation-swift-migration-part3 branch from 7cf800d to d9d94d8 Compare May 7, 2025 04:51
@RobertOdrowaz RobertOdrowaz added the autosubmit Merge PR when tree becomes green via auto submit App label May 7, 2025
@auto-submit auto-submit bot merged commit 860ecde into flutter:main May 7, 2025
82 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 7, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request May 7, 2025
flutter/packages@e800da7...b2ce3b0

2025-05-07 [email protected] [camera_android] Wait for creating
capture session when initializing (flutter/packages#8894)
2025-05-07 [email protected] [various] Delete discontinued
packages (flutter/packages#9215)
2025-05-07 [email protected] [camera_avfoundation]
Implementation swift migration - part 3 (flutter/packages#9182)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: camera platform-ios platform-macos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants