I've configured a Raspberry Pi as a Wifi hotspot and web server. What I'm trying to do is get the user's phone to automatically open a web browser when they connect to it. There is no Internet connection.
I setup a redirect for /generate_204 so that the "Sign-in to Wifi" notification appears when someone connects. When they tap the notification, they are taken to a webpage in the CaptivePortalLogin. The functionality of the captive portal is limited as it doesn't seem to store session information, allow the user to download files, etc. Even if /generate_204 returns a 204 response, it seems the captive portal just closes and no web browser is launched.
Is there anyway to launch a browser instead of the captive portal when a user connects to a Wifi network? Or is there a way to launch a browser once the captive portal has been opened?
Thanks for any ideas about this.