Page 2 of 2
Re: Web App not working on Android
Posted: Sat Jan 03, 2026 3:56 pm
by simisv
No matter what I do changing settings and installing different web browsers still no data is sent from my phone .
There are people using webapps that really work on android phones ?
Re: Web App not working on Android
Posted: Sat Jan 03, 2026 5:12 pm
by simisv
I have an update
If I type the command in the address bar of Chrome, 192.168.0.244:8080/aoff , a pop up window appears telling me that this address doesn't support a secure connection with HTTPS and it will give me two options, Go Back or Continue.
If I choose Continue then the command is being sent and the page will display the answer sent from ESP32.
This conclude that the communication between phone ( Chrome browser) and ESP32 are working. The problem must be in the WebApp code and I have no idea where.
Thanks
Re: Web App not working on Android
Posted: Sat Jan 03, 2026 6:19 pm
by simisv
Hi
Just tried TrebEdid html editor from Google Play.
Running the page from this app all commands are working ok .
TrebEdit is the only app so far that can run the WebApp without problems.
Still don't know how to solve the web browser issues.
Thanks
Re: Web App not working on Android
Posted: Sat Jan 03, 2026 6:22 pm
by chipfryer27
Hi
Most browsers now have HTTPS as default, and offhand I think there is a way to construct your request to use insecure, but I need to go look at previous projects to refresh myself.
Glad to hear you are progressing though.
Regards
Re: Web App not working on Android
Posted: Sat Jan 03, 2026 7:33 pm
by chipfryer27
Hi
From memory I think Chrome has a setting under Privacy/security, well somewhere, that tells it to allow http:
As I am in the pub enjoying well needed beer my memory might not be reliable
Regards
Re: Web App not working on Android
Posted: Sun Jan 04, 2026 8:51 pm
by simisv
Hi
I think Chrome is a lost cause, for now at least.
I did a fresh install of Samsung Web Browser, I changed the default web browser inside phone settings for main apps , saved the webapp html file on google drive and set the file to be available offline, then created a shortcut to home screen and next to it a shortcut for Samsung browser app .
Unfortunately when I open the file , will display the web page and doesn't send any data , then I click the 3 dots on the right corner and select "Open with" = Samsung browser and Shock.... everything works !!! And Samsung browser can access the file next time when I open it. Next time just open the Samsung browser and the WebApp will be open by default.
Finally I found out how to solve it.
I don't know if there's a simpler solution.
Thanks guys for support.
Happy new year!!!!!!!!
Re: Web App not working on Android
Posted: Sun Jan 04, 2026 9:00 pm
by chipfryer27
Hi
Happy New Year to you too (and everyone else).
Glad to hear you have it working but there must be an easier way than that. When I get a chance I'm going to create an "app" to interact with something on my server and see what happens.
Regards