So basically right now I can create a button with an A tag that has an href="tel:XXXXXXXXXXX" and if a user clicks / taps on that it will bring them into their phone application. However I am trying to do this programmatically on gesture recognition (swipe). The gesture is working, so far I have tried
window.location = "tel:XXXXXXXXXX";
None of the above examples work, anyone who tried it would have seen that. Posting the same answer as everyone else helps no one, and no one deserves this bounty.