picture_picker 1.0.0
picture_picker: ^1.0.0

discontinued

Flutter native selector works with android and ios.

picture_picker #

ios

1、添加相册相关权限:
  • 项目目录->Info.plist->增加
   <key>NSCameraUsageDescription</key>    
    <string>请允许打开相机拍照</string>
    <key>NSLocationWhenInUseUsageDescription</key>
	<string>我们需要通过您的地理位置信息获取您周边的相关数据</string>
	<key>NSPhotoLibraryAddUsageDescription</key>
	<string>请允许访问相册以选取照片</string>
	<key>NSPhotoLibraryUsageDescription</key>
	<string>请允许访问相册以选取照片</string>
	<key>NSFileProviderDomainUsageDescription</key>
	<string>是否允许此App使用你的相机进行拍照?</string>
2、中文适配:
  • 添加中文 Runner -> Info.plist -> Localizations 点击"+"按钮,选择Chinese(Simplified)
3
likes
0
pub points
0%
popularity

Flutter native selector works with android and ios.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

wayaer@foxmail.com

Dependencies

flutter

More

Packages that depend on picture_picker