I found a workaround in this using HTML but i have issues.
I edited the login.html file and that way the page i would like the user to view opens directly in his browser while he still hasn’t internet connection yet and there he can use the link to open QR Scanner corectly.
function openbr() {
location.href =“intent://192.168.4.1/cpv.html#Intent;scheme=https;action=android.intent.action.VIEW;end;”;
return false;
}
window.openbr()
“”“the cpv.html file is in Mikrotik files”“”
Two issues:
- Doesn’t work with all phones but i think that’s an HTML issue.
- Before the browser pop-ups i see an error page in the captive portal with the green android bot saying Web Page Not Available ERROR_URL_SCHEME can i hide this somehow? Thank you.