Web App Button Click not firing from mobile browser.

Discuss PC Developer and Web Developer projects and features here.
Post Reply
Bijumon
Posts: 34
http://meble-kuchenne.info.pl
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 12 times
Been thanked: 14 times

Flowcode v11 Web App Button Click not firing from mobile browser.

Post by Bijumon »

Hi Everyone,
I have created a simple App using the Web Developer to control an LED from browser.
The app works perfectly on laptop browsers (Chrome/Edge). Button presses are receiving the ESP and the LED toggles correctly.
When opening the same .html file in a mobile device (Android), the page renders correctly and the buttons are visible, but Button presses are not receiving ESP.
Is there any specific setting in Flowcode to make app compatible for mobile browser?
Attachments
Web App Test.fcweb
(10.84 KiB) Downloaded 18 times
ESP32 App Test.fcfx
(16.32 KiB) Downloaded 21 times

Steve-Matrix
Matrix Staff
Posts: 1744
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 254 times
Been thanked: 409 times

Re: Web App Button Click not firing from mobile browser.

Post by Steve-Matrix »

I just revisited the project I created here to test this:
https://www.flowcode.co.uk/app-developer/free-apps/

I tried communicating with the ESP32 device over the local network in the following situations:
  1. using Chrome on a Windows PC by typing in the direct url to the ESP32 device
  2. using Chrome on a Windows PC by running the Web Developer app
  3. using Chrome on a mobile phone by typing in the direct url to the ESP32 device
  4. using Chrome on a mobile phone by running the Web Developer app
  5. using a different browser on a mobile phone by typing in the direct url to the ESP32 device
  6. using a different browser on a mobile phone by running the Web Developer app
Communication was successful every time *except* number 4. So something in Chrome on the mobile phone is causing the issue in my case.

simisv
Posts: 27
Joined: Wed Oct 19, 2022 7:54 am
Has thanked: 5 times
Been thanked: 5 times

Re: Web App Button Click not firing from mobile browser.

Post by simisv »

Hi

Check this post . Was the only solution for me .
https://www.flowcode.co.uk/forums/viewt ... 6&start=10

Good luck

Bijumon
Posts: 34
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 12 times
Been thanked: 14 times

Re: Web App Button Click not firing from mobile browser.

Post by Bijumon »

Hi Steve,

Thanks for the response. I have test the example 3 and Here are my results...
1. Chrome (Windows PC): Typing the direct URL to the ESP32 — Working
2. Chrome (Windows PC): Running the Web Developer .html app — Working
3. Chrome (Mobile): Typing the direct URL to the ESP32 — Working
4. Chrome (Mobile): Running the Web Developer .html app — NOT Working (UI is working but not trigger the ESP32)
The results are identical on the Edge browser as well
Is there a specific setting required in the mobile browser to allow the web app?

Bijumon
Posts: 34
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 12 times
Been thanked: 14 times

Re: Web App Button Click not firing from mobile browser.

Post by Bijumon »

Hi simisv,
Thanks for the response
as you said i run in TrebEdid html editor and working, but i don't understand how did you mange it from google drive..
but i am looking for way to work in chrome or similar browser.

simisv
Posts: 27
Joined: Wed Oct 19, 2022 7:54 am
Has thanked: 5 times
Been thanked: 5 times

Re: Web App Button Click not firing from mobile browser.

Post by simisv »

Hi

I used " Samsung Browser " from google play . Need to set this as Default browser . Save your WebApp on your Google drive and use "Open With "+ "Samsung Browser" option to open your WebApp . Google Drive is the only location on your phone allowed by Android to use for your WebApp and a browser , at least for now I think . After first use of this setup , Chrome can be set as a Default browser and will not interfere anymore but still can't be used for web app .
https://play.google.com/store/search?q= ... apps&hl=en

Post Reply