i used getFileView but the return type of it is always unit8list, in web it will have the url inside the href but in flutter there is no way to find it.
Doesn’t getFileView() return the file itself? Not a link to the file.
In Web it does return a URL, but not in Flutter, I think
yeah that is the problem like, why does not retrieve the same data as web ?
If you want the url, you could just build it by adding the file ID to it and the project ID
ohh yeah i just realized that thank you so much.
If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title
[SOLVED] guys how can i get back url from flutter.
Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.