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
85 stars 13 forks source link

Is there a way to add an existing file to Gallary? #129

Closed ngotandatnnst closed 10 months ago

ngotandatnnst commented 10 months ago

Discussed in https://github.com/natsuk4ze/gal/discussions/128

Originally posted by **ngotandatnnst** August 29, 2023 Your plugin is clearer and better same plugins I have used But I finding a plugin which allow me to just add a existing file (image/video) to gallary without copy and paste to gallary I have read your code at function writeData in /main/android/src/main/java/studio/midoridesign/gal/GalPlugin.java file. It like copy and paste an existing file to gallary. It will make a file duplicated to 2, one at original path and one at new gallary path. But your plugin can do better by allow dev just tell that "add this filepath to gallary for end user can find it in Gallary app without move or copy it" If I understand wrong, please correct me. I've only been learning Flutter for a few months
natsuk4ze commented 10 months ago

We started discussion in #128