-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/plugins
#5636Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: device-specificOnly manifests on certain devicesOnly manifests on certain devicesp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specifically
Description
Steps to Reproduce
When using availableCameras() it only returns 2 cameras (one front and one back camera) on an iPhone 12 Pro. However, I specifically want to use the telephoto camera. Is this a bug or it's not possible to have control over which back camera to use?
camera plugin version: version: "0.8.1"
Expected results:
Return a list of 4 cameras (one front and three back cameras).
Actual results:
Returns a list of only 2 cameras.
[0]:CameraDescription (CameraDescription(com.apple.avfoundation.avcapturedevice.built-in_video:0, CameraLensDirection.back, 90))
[1]:CameraDescription (CameraDescription(com.apple.avfoundation.avcapturedevice.built-in_video:1, CameraLensDirection.front, 90))
Logs
flutter doctor -v:
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H524 darwin-x64, locale en-DK)
• Flutter version 2.0.3 at /Users/barnabashomola/Developer/flutter
• Framework revision 4d7946a68d (5 weeks ago), 2021-03-18 17:24:33 -0700
• Engine revision 3459eb2436
• Dart version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/barnabashomola/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.55.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.21.0
[✓] Connected device (2 available)
• Kuatro’s iPhone (mobile) • 00008101-0016305A0E21001E • ios • iOS 14.4.2
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.128
• No issues found!
gyihasz, alehmazok, w3ggy, csomers, backandy and 3 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: device-specificOnly manifests on certain devicesOnly manifests on certain devicesp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specifically