X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Android Apk is not downloading

Kuphostiwe

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?

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

Eminye Imininingwane

TyDraniu
  • Top 25 Contributor
315 izisombululo 1773 izimpendulo
Kuphostiwe

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.

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.

Umnikazi wombuzo

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?..

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?..
TyDraniu
  • Top 25 Contributor
315 izisombululo 1773 izimpendulo
Kuphostiwe

Impendulo Ewusizo

Yes, it's still text/plain.

https://fabianstiehle.com/mimetype/

Yes, it's still text/plain. https://fabianstiehle.com/mimetype/