Here's the code.. i but it gets stuck in that particular screen even though i have added all the extra code in info.plist, please review and help me out... even though i click the button to enable library access it just redirects me to the settings page..
Future<File?> getImageFromGallery(BuildContext context) async { try { List<MediaFile>? singleMedia = await GalleryPicker.pickMedia(context: context, singleMedia: true); return singleMedia?.first.getFile(); } catch (e) { print(e); } }
Here's the code.. i but it gets stuck in that particular screen even though i have added all the extra code in info.plist, please review and help me out... even though i click the button to enable library access it just redirects me to the settings page..
Future<File?> getImageFromGallery(BuildContext context) async { try { List<MediaFile>? singleMedia = await GalleryPicker.pickMedia(context: context, singleMedia: true); return singleMedia?.first.getFile(); } catch (e) { print(e); } }
Please check and let me know how to resolve it