CarnegieTechnologies / gallery_saver

Flutter plugin that saves images and videos to devices gallery
Apache License 2.0
157 stars 329 forks source link

Add only access level on iOS? #126

Open ruskakimov opened 3 years ago

ruskakimov commented 3 years ago

Would it be possible to switch to NSPhotoLibraryAddUsageDescription permission?

Since it looks like the plugin doesn't require reading from the gallery.

https://github.com/CarnegieTechnologies/gallery_saver/blob/6eb20cde05176fa670d1514710fa047703501536/ios/Classes/SwiftGallerySaverPlugin.swift#L44 Here a for parameter can be passed with add only access level.

ruskakimov commented 3 years ago

@jelenalecic, can you have a look? 🙏

Ec7i9se commented 3 years ago

Yes pls, it's impossible to save photo if user granted "only selected photos" or "add only" access. It's critical error!

lecicdjuro commented 3 years ago

@ruskakimov please contribute and make a PR for this