I am looking to use Javascript to enable opening WhatsApp on both iOS and Android devices.
Below is the code I have attempted:
window.open("https://wa.me/15551234567");
window.open("https://api.whatsapp.com/send?phone=15551234567");
While it successfully opens WhatsApp on Android, unfortunately it does not work on iOS.