Comments (11)
Thank you for your contribution @takapiroid88 🤝
Can you save the media file with album
option is null
?
I think your media path is not correct.
from gal.
OK. Can you provide the value of granted
? @takapiroid88
final granted = await Gal.request(toAlbum: true)
And is project_album
the album your app will create with the gal
package?
from gal.
@takapiroid88
If you want to save media in an album created by someone other than your app, you will need permission for "All photos" .
See: https://github.com/natsuk4ze/gal/wiki/Permissions
from gal.
Unhandled Exception: PlatformException(asset is not found, null, null, null)
BTW, Can you add steps to reproduce this error?
I have no error in ios 16.4 with this code
await Gal.putImage($path album: 'project_album');
from gal.
@natsuk4ze
sorry, I checked it and it was saved in the album.
from gal.
OK🤟 I'm glad you were able to resolve.
from gal.
@natsuk4ze
thank you reponse.
Can you save the media file with album option is null ?
code
await Gal.putImage(filePath, album: null);
save successful.
saved location is the same as before, “Latest”.
from gal.
@natsuk4ze
granted is true.
from gal.
And is project_album the album your app will create with the gal package?
already exist album...
from gal.
BTW, Can you add steps to reproduce this error?
This error was caused by my own code and had nothing to do with the problem.
If you want to save media in an album created by someone other than your app, you will need permission for "All photos" .
Is All Photo like below screenshot ?
try it, but cannot save to already exist album.
from gal.
Can you add steps or a video to reproduce it @takapiroid88 ?
I am unable to reproduce it.
demo.mp4
And looking at your flutter doctor results, there may be some warnings that are occurring and that may be the problem.
from gal.
Related Issues (20)
- Expansion of supported version range of macOS HOT 1
- Unsupported file formats Error for existed files HOT 2
- Add support for Linux desktop platform HOT 13
- Windows platform cannot compile HOT 6
- Open Gallery to album HOT 3
- Allow building macOS apps targeting 10.14 or 10.15 macOS version HOT 3
- Many of my android users report me this error - An unexpected error has occurred HOT 18
- Can't compile for windows in lower than C++ 20 HOT 5
- Android: Failed to build unique file HOT 10
- Can "Gal.putImage" return the path of the saved image, instead of void?
- Adding a name parameter in putImageBytes HOT 1
- 2.3.0 not compatible with gal_linux HOT 1
- Next Breaking Change Candidates
- Macos App is crashing when saving image/video from url/asset path HOT 1
- Warning: The plugin gal requires Android SDK version 34. HOT 3
- Retrieve saved image path after saving to Gallery HOT 2
- An unexpected error has occurred while saving the webp format. HOT 2
- Compliance with Apple's Privacy Manifests HOT 1
- How to Save to album?? HOT 1
- Gal.open() on Samsung device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gal.