tictacmobile commented on issue #592:
URL:
https://github.com/apache/cordova-plugin-inappbrowser/issues/592#issuecomment-717171570
The patch above only worked for me after downloading the latest cordova-ios,
ios 6.2.0-nightly.2020.10.27.cb20c9bb.
tel: and sms: hrefs were still giving the infamous "Unsupported url"
message, though.
My solution is to open my own page in the inAppbrowser and have the
appropriate tel:, sms: and mailto: links there.
In my app.js:
$(document).on('click', 'a[href^=mailto], a[href^=tel], a[href^=sms]',
function(eb) {
eb.preventDefault();
var $this = $(this);
cordova.InAppBrowser.open(mobUrl + '/ios/ContactLinks.jsp?href='+
$this.attr('href'), '_blank', 'location=no');
});
----------------------------------------------------------------
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]