Skip to content

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
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
androidseb pushed a commit to androidseb/packages that referenced this pull request Jun 8, 2025
…r#9182)

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

[^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.
FMorschel pushed a commit to FMorschel/packages that referenced this pull request Jun 9, 2025
…r#9182)

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

[^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.
Ortes pushed a commit to Ortes/packages that referenced this pull request Jun 25, 2025
…r#9182)

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

[^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.
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