文件最后提交记录最后更新时间
Ensure Example Packages Work on Android API 36 (#9241) Ensured the example plugin apps on Android work on Android API 36 by updating configurations and sucessfully running flutter build apk (means the app can successfully build + all dependencies are resolvable). For compatibility with Android API 36, the example plugin apps on Android should have the following configurations: targetSdk: 36 compileSdk: 36 AGP version: 8.9.1 Gradle version: 8.11.1 Most packages no longer require a manual bump of targetSdk and compileSdk due to usage of values from Flutter Gradle Plugin. Below is a list of example plugin apps on Android: Partially Adresses https://github.com/flutter/flutter/issues/163071 ## 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.1 年前
Update repo for 3.32 stable (#9311) Does all of the steps from https://github.com/flutter/flutter/blob/master/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md for the 3.32 stable release (except the first one, as the stable roller has already landed).1 年前
[camera] Add API support query for image streaming (#8250) Add API support query, supportsImageStreaming for checking if the camera platform supports image streaming. As requested on this comment: https://github.com/flutter/packages/pull/8234#discussion_r1871232301 Attempting to follow the [contribution guide wrt. changing federated plugins](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins). There is no issue to link to, but should I create one?1 年前
[camera_android] Convert Dart to native calls to use Pigeon (#7874) Add structured types and convert implementations to use typesafe method calls for platform methods from Dart to native side. Android analog of https://github.com/flutter/packages/pull/6601 Part of https://github.com/flutter/flutter/issues/117905 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] page, which explains my responsibilities. - [x] I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.) - [ ] I signed the [CLA]. - [x] The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences] - [x] I [linked to at least one issue that this PR fixes] in the description above. - [x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes]. - [x] I updated CHANGELOG.md to add a description of the change, [following repository CHANGELOG style], or this PR is [exempt from CHANGELOG changes]. - [x] I updated/added relevant documentation (doc comments with ///). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md [Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md [relevant style guides]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md#style [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [linked to at least one issue that this PR fixes]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview [pub versioning philosophy]: https://dart.dev/tools/pub/versioning [exempt from version changes]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#version [following repository CHANGELOG style]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changelog-style [exempt from CHANGELOG changes]: https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changelog [test-exempt]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests1 年前
[camera] Add API support query for image streaming (#8250) Add API support query, supportsImageStreaming for checking if the camera platform supports image streaming. As requested on this comment: https://github.com/flutter/packages/pull/8234#discussion_r1871232301 Attempting to follow the [contribution guide wrt. changing federated plugins](https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changing-federated-plugins). There is no issue to link to, but should I create one?1 年前
[camera] Federate mobile implementations (#5937) 3 年前
[camera_android] Wait for creating capture session when initializing (#8894) As discussed in the linked issue, this is an attempt to palliate one of the thread race conditions. In particular, returning to Dart possibly before creating the session and then let other function like "startImageStream" create a different session in parallel and interleave, causing the java.lang.IllegalArgumentException: CaptureRequest contains unconfigured Input/Output Surface! error. Fixes https://github.com/flutter/flutter/issues/165092 cc @camsim99 ## 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.1 年前
[camera] Federate mobile implementations (#5937) 3 年前
[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 年前
[camera_android] Wait for creating capture session when initializing (#8894) As discussed in the linked issue, this is an attempt to palliate one of the thread race conditions. In particular, returning to Dart possibly before creating the session and then let other function like "startImageStream" create a different session in parallel and interleave, causing the java.lang.IllegalArgumentException: CaptureRequest contains unconfigured Input/Output Surface! error. Fixes https://github.com/flutter/flutter/issues/165092 cc @camsim99 ## 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.1 年前
README.md

camera_android

An Android implementation of camera built with the Camera2 library.

Usage

As of camera: ^0.11.0, to use this plugin instead of camera_android_camerax, run

$ flutter pub add camera_android

Limitation of testing video recording on emulators

MediaRecorder does not work properly on emulators, as stated in the documentation. Specifically, when recording a video with sound enabled and trying to play it back, the duration won't be correct and you will only see the first frame.