mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #841] Captive Portal does't work on Android devices... #706
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#706
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @e-music on GitHub (Mar 4, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/841
Hi,
I tried on many different devices, but Captive Portal doesn't work on any of my Android devices. Only on my iPhone, the config portal immediately comes up as soon as the phone is connected to the ESP8266 AP.
Any advice?
Thanks
@ghost commented on GitHub (Mar 5, 2019):
I noticed this on a stock Samsung Galaxy S9+ running Android 8.1, the "Sign On" page isn't brought up automatically, but I can't reproduce it on my LineageOS 15.1 (Oreo) or LineageOS 16.0 (Pie).
Do you have captive portal detection disabled? What Android devices (make, model, Android version) have you tried it on?
@tablatronix commented on GitHub (Mar 5, 2019):
The latest on this is that, android (some versions) either have a sandboxed dns system, or use hardcoded google dns 8.8.8.8 and ignores our captive portal there is an issue open in esp arduino if you want to find it and read the comments.
@ghost commented on GitHub (Mar 5, 2019):
Seems like https://github.com/espressif/arduino-esp32/issues/1037 is what you're referring to?
@e-music commented on GitHub (Mar 5, 2019):
@h4waii
Yes, exactly the same issue!
I tried on Samsung J5 Prime, S8, and Android Tablet. All with the same result!
@ghost commented on GitHub (Mar 6, 2019):
@e-music Setting 8.8.8.8 as AP IP seems to work around this for me.
WiFiManager.setAPStaticIPConfig(IPAddress(8,8,8,8), IPAddress(8,8,8,8), IPAddress(255,255,255,0));before calling
autoConnect()and see how you fare.@tablatronix commented on GitHub (Mar 6, 2019):
Thanks all, I do not have android to test on
@e-music commented on GitHub (Mar 6, 2019):
@h4waii
Thank you. I will try it asap!
@e-music commented on GitHub (Mar 6, 2019):
@h4waii
WOW!! Changing the IP has solved the issue and now the Captive Portal works on all Android devices!
Thank you very much for your help!