How to get a list of URIs of all photos in the ios gallery?

Ive used ImagePicker, but the plugin somehow does not work if the files are stored in iCloud ? Did someone had a similar usecase and found any solution that would help ?