popcorn-official / popcorn-site

Website EXPRESS.js + I18next
https://popcorntime.app
113 stars 96 forks source link

Suggested version to download #4

Open Persei08 opened 7 years ago

Persei08 commented 7 years ago

Hi,

Actually when you open popcorntime.sh from your android smartphone (arm64 v8) the download button is set to download the android arm V7 version. Some people install it and complain because they got an error message

Maybe arch detection should (if possible) be improved to detect arm64, or download button should redirect user to android page

edit: For my smartphone (arm64 v8), js property navigator.platform return "Linux aarch64" (chrome, firefox, bundled browser), so if it's common enough, a test could be done on it after detecting the android system.

also useful resource about navigator.plateform: https://stackoverflow.com/a/19883965

MrRory commented 5 years ago

What kind of device was this? This is actually a good solution, but my OnePlus 3 returns Linux armv8l.

Persei08 commented 5 years ago

Hi @MrRory. the test was done on Meizu M2 Note.

Today i tried with my Motorola G6 (mod: XT1925) and got "Linux armv7l" but it's normal because it is ship with 32bits arm v7 build of android.