Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot download images when browsing on Webview #9133

Closed
1 of 3 tasks
nghduc97 opened this issue Apr 28, 2024 · 3 comments
Closed
1 of 3 tasks

Cannot download images when browsing on Webview #9133

nghduc97 opened this issue Apr 28, 2024 · 3 comments

Comments

@nghduc97
Copy link
Contributor

The bug

Typically, when open a link from messaging apps, link is opened on webview (Android Webview in my case) instead of the browser. If I try to download in there, even after the download progress finish, there is no save file to storage prompt like on the browser.

The OS that Immich Server is running on

Ubuntu

Version of Immich Server

v1.102.3

Version of Immich Mobile App

v1.102.3

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

irrelevant

Your .env content

irrelevant

Reproduction steps

1. share an album
2. paste share link on some messaging app (Messenger, Telegram, etc)
3. click the link to open
4. try download an image to local device
...

Relevant log output

No response

Additional information

No response

@mmomjian
Copy link
Contributor

Are you able to test downloading an image from a different website in Android Webview and see if it is allowed? Typically these browsers are more heavily sandboxed. Example: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_a_download

@nghduc97
Copy link
Contributor Author

nghduc97 commented Apr 29, 2024

Yes, I have tried downloading other files. They work fine.

My mom complained this actually, I'll make a PR to fix this later.

@nghduc97
Copy link
Contributor Author

My bad, I got it wrong, other messaging apps like Telegram work fine. It is the problem of Zalo (a popular messaging app in my country) trying capture the download and save it in specific location that cause issues. I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants