I’m working on a web page which launches an app if present on the device.
It works great for Android but I’m having trouble with the iOS version.
To launch the app I’ve used the code:
window.location = “exampleApp://”
If the app is installed, a prompt asks the user if they would like to launch the app which is great.
If the app isn’t already installed, Safari produces an alert with the message “Safari cannot open the page because the address is invalid”.
Is there a way to hide/suppress this alert?