web-flasher icon indicating copy to clipboard operation
web-flasher copied to clipboard

Web-flasher working as a web app in Chromium/Linux but not in Chrome/Android

Open LoakAudio opened this issue 1 year ago • 2 comments

Hi all, I hope to be in the right place. I can install the ELRS web-flasher as a web app in Chromium (Linux Debian 12 computer) but I can't in Chrome in an Android 14 Samsung A6+ tablet. The option is not proposed. No problem with BlueJay ESC-Configurator or Betaflight BBE or Betaflight Configurator, even if this last one doesn't work in Android. I don't know if it's a bug or a choice, but web apps are easier to manage in Android for me than shortcuts on the home page of the tablet. If you can do something ...

Thanks

LoakAudio avatar Sep 27 '24 19:09 LoakAudio

I have no idea how to do this and don't have any android devices to test with.

pkendall64 avatar Sep 27 '24 20:09 pkendall64

These are indeed 2 good reasons. I can live with that. Thanks.

LoakAudio avatar Sep 28 '24 08:09 LoakAudio

it should behave the same on any device, PWA was never supported so far so idk how it worked on your pc

can do it with this for example: https://vite-pwa-org.netlify.app/

j4k0xb avatar Oct 23 '24 01:10 j4k0xb

it should work the same on any device, PWA was never supported so far so idk how it worked on your pc

can do it with this for example: https://vite-pwa-org.netlify.app/

If you have some knowledge in this area, I'm 100% open to PRs for this.

pkendall64 avatar Oct 23 '24 03:10 pkendall64

I have used vue/vite a bit but unfortunately nothing in this area so far, can give it a try though

j4k0xb avatar Oct 23 '24 03:10 j4k0xb

Could you try if this works as expected? https://j4k0xb.github.io/web-flasher/ Added bonus is it can be used offline (everything in the hardware selection, .bin files after being fetched for the first time)

image image

j4k0xb avatar Oct 23 '24 17:10 j4k0xb

Thats really nice. I tried it on the Mac and worked perfectly.

pkendall64 avatar Oct 24 '24 06:10 pkendall64

@j4k0xb more than happy for you PR these changes when you're ready

pkendall64 avatar Oct 24 '24 23:10 pkendall64

Hi guys, Tested with Android 14 and it works fine on a tablet. Firmware compiled and downloaded fine. Many thanks

LoakAudio avatar Oct 26 '24 18:10 LoakAudio