Builk_Camera
Builk_Camera is a Flutter package that allows you to display cameras on iOS and Android
platforms based on the camera
package ,flutter_image_compress
and native_device_orientation
package.
Installation
First, add camera as a dependency in your pubspec.yaml file.
iOS
Add two rows to the ios/Runner/Info.plist:
- one with the key Privacy - Camera Usage Description and a usage description.
- and one with the key Privacy - Microphone Usage Description and a usage description.
If editing Info.plist as text, add:
<key>NSCameraUsageDescription</key>
<string>your usage description here</string>
<key>NSMicrophoneUsageDescription</key>
<string>your usage description here</string>
Android
Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.
minSdkVersion 21
To use Builk_Camera in your Flutter project, add it to your pubspec.yaml
file:
dependencies:
builk_camera: any