jwasnoggin commented on issue #147:
URL:
https://github.com/apache/cordova-plugin-wkwebview-engine/issues/147#issuecomment-742951636
Adding this was sufficient for me to get `tel:` links working:
```javascript
document.addEventListener("deviceready", function () {
if (device.platform == 'iOS') {
$(document).on('click', 'a[href^=mailto], a[href^=tel]', function
(e) {
e.preventDefault();
var href = $(this).attr('href').replaceAll(' ', ''); // It
doesn't like spaces in the phone number
cordova.InAppBrowser.open(href, '_system');
});
}
}, false);
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]