Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

Android Apk is not downloading

  • 3 Antworten
  • 1 hat dieses Problem
  • 16 Aufrufe
  • Letzte Antwort von TyDraniu

more options

Hi All, We have android app that customers can download directly from WordPress website. It works perfectly fine on google chrome, but does not on Firefox, both mobile and PC. When you are trying to download the file, the browser opens it instead and shows bunch of random text. https://pasteboard.co/HLKQzA4.png Any ideas how to fix it please?

Hi All, We have android app that customers can download directly from WordPress website. It works perfectly fine on google chrome, but does not on Firefox, both mobile and PC. When you are trying to download the file, the browser opens it instead and shows bunch of random text. https://pasteboard.co/HLKQzA4.png Any ideas how to fix it please?

Alle Antworten (3)

more options

Although it works for me, the MIME type of this file is text/plain. You have to change the MIME type of apk files to for instance application/binary or application/vnd.android.package-archive on your server.

more options

Thank you, I added a line "AddType application/vnd.android.package-archive apk" to htaccess.txt but unfortunately that did not change anything =( At least you sent us to the right direction I suppose, so thank you. Have I done something wrong there?..

more options

Yes, it's still text/plain.

https://fabianstiehle.com/mimetype/