natsuk4ze / gal

How to Save Image or Video to Photo Gallery in Flutter
https://pub.dev/packages/gal
BSD 3-Clause "New" or "Revised" License
115 stars 18 forks source link

Request a rename album name feature #229

Open ZhiwenLuoAllIn opened 4 months ago

ZhiwenLuoAllIn commented 4 months ago

Did you check the documentation and it did not help?

Proposal

I need a feature to rename an existing album.

Use case

Sometimes, if the local image saved from my app is expired (like QR code which have the time limitation) I need to rename the album name (with an expiration note) to let user notice that.

natsuk4ze commented 4 months ago

Could you please elaborate on your use case?

It looks like we can satisfy your use case by adding an expiration note to the name of the image to be saved or to a new album to be created using the album parameter with putImage

ZhiwenLuoAllIn commented 4 months ago

@natsuk4ze Nice to see your response. Let me explain in detail:

In my app, user can download a bunch of QR code and we will create a specific album for it at that time.

And later, once user doing some update operations, these QR codes might be expired, and they will download the newest QR codes. At this point, we will create a new album and download newest QR codes into this new album.

Now, user have two albums contains the same mount of QR codes. And we want to rename the older one to let user know the QR codes inside it already expired.

Ideally, I want to delete the older album and its images. But seems the delete operation is more sensitive. So I decide to rename the older album and make users can see which one is expired at a glance.

That's the basic needs .

I'm looking for a more simplicity way to achieve it and directly modify the name of album should be The most direct.

natsuk4ze commented 3 weeks ago

@ZhiwenLuoAllIn

Sorry it took me so long to reply.

Upon investigation, it appears that in order to change the name of an existing album, one must not only have write permissions, but also require full access to all photos, or full access to that album after allowing the user to select the appropriate album.

Would you still like that functionality under these conditions?