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?
Web App Button Click not firing from mobile browser.
-
Bijumon
- Posts: 34
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 30, 2022 11:44 am
- Has thanked: 10 times
- Been thanked: 14 times
Web App Button Click not firing from mobile browser.
- Attachments
-
- Web App Test.fcweb
- (10.84 KiB) Downloaded 3 times
-
- ESP32 App Test.fcfx
- (16.32 KiB) Downloaded 3 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1729
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 252 times
- Been thanked: 408 times
Re: Web App Button Click not firing from mobile browser.
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:
https://www.flowcode.co.uk/app-developer/free-apps/
I tried communicating with the ESP32 device over the local network in the following situations:
- using Chrome on a Windows PC by typing in the direct url to the ESP32 device
- using Chrome on a Windows PC by running the Web Developer app
- using Chrome on a mobile phone by typing in the direct url to the ESP32 device
- using Chrome on a mobile phone by running the Web Developer app
- using a different browser on a mobile phone by typing in the direct url to the ESP32 device
- using a different browser on a mobile phone by running the Web Developer app
Re: Web App Button Click not firing from mobile browser.
Hi
Check this post . Was the only solution for me .
https://www.flowcode.co.uk/forums/viewt ... 6&start=10
Good luck
Check this post . Was the only solution for me .
https://www.flowcode.co.uk/forums/viewt ... 6&start=10
Good luck
Re: Web App Button Click not firing from mobile browser.
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?
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?
Re: Web App Button Click not firing from mobile browser.
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.
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.