文件最后提交记录最后更新时间
[camera_avfoundation] Wrappers swift migration - part 3 (#10293) Migrates camera wrappers as part of https://github.com/flutter/flutter/issues/119109 This PR migrates wrappers to Swift: * FLTCaptureDevice * FLTCaptureSession * FLTFormatUtils In line with Swift conventions, the FLT prefixes are removed. The Default class implementations are replaced with protocol conformance on base AV classes. ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^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.6 个月前
[various] Update all packages to Pigeon 26 (#10450) Pigeon versions <26.0.4 aren't compatible with analyzer 8.x, which is causing conflicts for flutter/flutter, so this updates the entire repo to 26. Related: https://github.com/flutter/flutter/issues/178270 Manual fixes: - Updates camera_android_camerax and webview_flutter_android for https://github.com/flutter/packages/pull/9515 - Adds the pigeonVar_* overrides to the url_launcher_windows tests - Removes equality extensions to Pigeon data classes in in_app_purchase_storekit, as they are now generated by Pigeon, causing redeclaration errors. ## 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.6 个月前
[various] Update all packages to Pigeon 26 (#10450) Pigeon versions <26.0.4 aren't compatible with analyzer 8.x, which is causing conflicts for flutter/flutter, so this updates the entire repo to 26. Related: https://github.com/flutter/flutter/issues/178270 Manual fixes: - Updates camera_android_camerax and webview_flutter_android for https://github.com/flutter/packages/pull/9515 - Adds the pigeonVar_* overrides to the url_launcher_windows tests - Removes equality extensions to Pigeon data classes in in_app_purchase_storekit, as they are now generated by Pigeon, causing redeclaration errors. ## 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.6 个月前
[Camera] Add lens type information (iOS) (#7653) This PR adds lens type information. The goal is to identify whether the lens type is wide, ultra-wide, telephoto, etc., as discussed in https://github.com/flutter/flutter/issues/119908. The iOS implementation is complete, so lens data will now be populated on iOS. - Introduces a new CameraLensType enum to provide lens type information about the camera (e.g.: ultra-wide, telephoto, ...) - Adds lensType in the PlatformCameraDescription and CameraDescription classes - Implements utility functions to convert between PlatformCameraLensType and CameraLensType. - Updates auto-generated code (using Pigeon) to reflect these changes. **Current CameraDescription for iPhone 11** ``` [ CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:0, CameraLensDirection.back, 90 ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:1, CameraLensDirection.front, 90 ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:5, CameraLensDirection.back, 90 ) ] ``` **New CameraDescription for iPhone 11** ``` [ CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:0, CameraLensDirection.back, 90, CameraLensType.wide ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:1, CameraLensDirection.front, 90, CameraLensType.wide ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:5, CameraLensDirection.back, 90, CameraLensType.ultraWide ) ] ``` Fixes https://github.com/flutter/flutter/issues/1743907 个月前
[Camera] Add lens type information (iOS) (#7653) This PR adds lens type information. The goal is to identify whether the lens type is wide, ultra-wide, telephoto, etc., as discussed in https://github.com/flutter/flutter/issues/119908. The iOS implementation is complete, so lens data will now be populated on iOS. - Introduces a new CameraLensType enum to provide lens type information about the camera (e.g.: ultra-wide, telephoto, ...) - Adds lensType in the PlatformCameraDescription and CameraDescription classes - Implements utility functions to convert between PlatformCameraLensType and CameraLensType. - Updates auto-generated code (using Pigeon) to reflect these changes. **Current CameraDescription for iPhone 11** ``` [ CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:0, CameraLensDirection.back, 90 ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:1, CameraLensDirection.front, 90 ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:5, CameraLensDirection.back, 90 ) ] ``` **New CameraDescription for iPhone 11** ``` [ CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:0, CameraLensDirection.back, 90, CameraLensType.wide ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:1, CameraLensDirection.front, 90, CameraLensType.wide ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:5, CameraLensDirection.back, 90, CameraLensType.ultraWide ) ] ``` Fixes https://github.com/flutter/flutter/issues/1743907 个月前
[camera] Federate mobile implementations (#5937) 3 年前
[various] Update all packages to Pigeon 26 (#10450) Pigeon versions <26.0.4 aren't compatible with analyzer 8.x, which is causing conflicts for flutter/flutter, so this updates the entire repo to 26. Related: https://github.com/flutter/flutter/issues/178270 Manual fixes: - Updates camera_android_camerax and webview_flutter_android for https://github.com/flutter/packages/pull/9515 - Adds the pigeonVar_* overrides to the url_launcher_windows tests - Removes equality extensions to Pigeon data classes in in_app_purchase_storekit, as they are now generated by Pigeon, causing redeclaration errors. ## 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.6 个月前
Remove "All right reserved" from all files (#10066) Per guidance from legal on current preferred practice, remove "All rights reserved" from all LICENSE files and header blocks, and update the repo tool check accordingly.7 个月前
[various] Update flutter.dev links to more reliable destinations (#6963) Contributes to https://github.com/flutter/website/issues/10363 by updating to the latest links and updating some links to use new /to/ links that can be updated as needed.1 年前
[various] Update all packages to Pigeon 26 (#10450) Pigeon versions <26.0.4 aren't compatible with analyzer 8.x, which is causing conflicts for flutter/flutter, so this updates the entire repo to 26. Related: https://github.com/flutter/flutter/issues/178270 Manual fixes: - Updates camera_android_camerax and webview_flutter_android for https://github.com/flutter/packages/pull/9515 - Adds the pigeonVar_* overrides to the url_launcher_windows tests - Removes equality extensions to Pigeon data classes in in_app_purchase_storekit, as they are now generated by Pigeon, causing redeclaration errors. ## 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.6 个月前
README.md

camera_avfoundation

The iOS implementation of camera.

Usage

This package is endorsed, which means you can simply use camera normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.