Downloading SDA apk does not work on Motorola Android #32

Open
opened 12 months ago by duke · 4 comments
duke commented 12 months ago
Owner

Trying to download SDA apk from git.hush.is downloads a file that ends in .apk.zip and the the device won't open it. I am pretty sure we had similar kinds of problems in the past with some browsers, and it's related to the Content-Disposition HTTP header which tells a browser that a link is downloadable and gives a default filename to be used in a "Save As" dialog box.

All I know is that it was stock Motorola Android, not Lineage/Calyx/etc but I don't know the Android version. Will try to get that info.

In addition to clicking the download button on the website, I tried hush.is/sda and hush.is/android but we had the same problem.

Trying to download SDA apk from git.hush.is downloads a file that ends in `.apk.zip` and the the device won't open it. I am pretty sure we had similar kinds of problems in the past with some browsers, and it's related to the `Content-Disposition` HTTP header which tells a browser that a link is downloadable and gives a default filename to be used in a "Save As" dialog box. All I know is that it was stock Motorola Android, not Lineage/Calyx/etc but I don't know the Android version. Will try to get that info. In addition to clicking the download button on the website, I tried hush.is/sda and hush.is/android but we had the same problem.
Collaborator

Might need to set the headers specifically for .apk files in nginx config on Gitea server. If already set, maybe certain devices just don't handle it properly?

It seems different devices handle differently by default. I know one of my old test devices downloads fine as an .apk and then an older tablet I had downloaded as a .zip in the past.

Might need to set the headers specifically for .apk files in nginx config on Gitea server. If already set, maybe certain devices just don't handle it properly? It seems different devices handle differently by default. I know one of my old test devices downloads fine as an .apk and then an older tablet I had downloaded as a .zip in the past.
Collaborator

It's no longer a problem since we host APK in https://storage.hush.land, it handles the file extensions correctly.

It's no longer a problem since we host APK in https://storage.hush.land, it handles the file extensions correctly.
onryo closed this issue 2 weeks ago
Collaborator

I don't believe this issue was ever resolved.

https://storage.hush.land just redirects to https://hush.is/ - where is the APK location documented?

I don't believe this issue was ever resolved. https://storage.hush.land just redirects to https://hush.is/ - where is the APK location documented?
jahway603 reopened this issue 1 week ago
Collaborator

I don't believe this issue was ever resolved.

https://storage.hush.land just redirects to https://hush.is/ - where is the APK location documented?

https://git.hush.is/hush/hush.is/src/branch/master/index.html#L520

> I don't believe this issue was ever resolved. > > https://storage.hush.land just redirects to https://hush.is/ - where is the APK location documented? https://git.hush.is/hush/hush.is/src/branch/master/index.html#L520
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.