Open duzenko opened 3 years ago
Please provide more info to reproduce this issue.
I think it might have something to do with permissions The photo_manager plugin I used instead of yours shows the permission request properly and works afterwards
修改Podfile文件: post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
## dart: PermissionGroup.camera
'PERMISSION_CAMERA=1',
# dart: PermissionGroup. photos
'PERMISSION_PHOTOS=1',
'PERMISSION_PHOTOS_ADD_ONLY=1',
# dart: [PermissionGroup. location, PermissionGroup. locationAlways, PermissionGroup. locationWhenInUse]
# 'PERMISSION_LOCATION=1',
# dart: PermissionGroup.mediaLibrary
'PERMISSION MEDIA LIBRARY=1'
]
end
end end
returns one album with 0 length even though there are videos on device