We have angularjs application, recently we discovered that when you click on a mailto link safari does not open the email application. This works fine in chrome.
The example below doesn't seem to work on safari iOS 11.3.
Click me
Instead, it throws the error below.
Anyone come across this issue or have a fix, please?
Related
We are currently developing a PWA for a client of ours. Everything has been going well, but while testing on iPhone (iOS 12.2) we are having an issue with the tags that have sms:123-456-7890 in the href. You get the "Safari cannot open this page because of the sms: tag" (paraphrasing).
If you are browsing the site via Safari (not in the PWA mode), the anchor tag works fine and your iMessage opens up with the number in it. But when you're in the PWA mode and click the link, you get a version of the message I mentioned above.
From doing research, this appears to be some sort of bug in the iOS 12.2 release, though not officially mentioned.
I'm curious if anyone has had any luck with a work-around for this issue?
Thanks in advance.
Edit..to add some code for the anchor tag....
123-456-7890
I've tried many different variations of the sms (with no // or ;), always same outcome when clicking it as a PWA. With Android, everything works fine in PWA mode.
I did find a workaround by using JavaScript
Code Example:
<a href="#" onclick="openSMSMobile();" >
function openSMSMobile(e) {
window.open('sms:1234567890', '_self');
return false;
}
And in case anyone is wondering, if you'd like to add text to the message body, you can use,
window.open('sms:1234567890&body=textGoesHere', '_self');
For Android you'll need,
window.open('sms:1234567890&body=textGoesHere', '_self');
I have an iOS app (and desktop/mobile web/android application versions as well) that has the "Share to Facebook" functionality. When users share to Facebook, the app generates a public link to the page and posts to Facebook. When users click on the link from Facebook, it routes to a vanity URL and displays the page.
Unfortunately this routing functionality does not seem to be working on iOS devices. When clicking on the share link in the iOS Facebook app or copy/pasting the link into Safari on iOS, the original (non-vanity) link hangs with a blank page and no redirect happens.
I've tested this on Android, Windows desktop, Mac Desktop on multiple browsers with no issues. The issue only persists on iOS in the Facebook in-app browser, in Safari, and also in Chrome for iOS.
Anyone have any ideas what might be causing this?
I am trying to get a universal link to my iOS app working on iOS 9.
The link should be displayed in an iframe.
As of now I have got it working correctly for chrome on iOS 9 using:
Chrome iOS 9 all good
This link does not work on Safari from an iframe tho.
Through some experimenting I found that following link does work when called from my local ip:
Safari iOS 9 problem case
But for some reason this will not open my iOS app when I add this link on a page hosted at the same domain as the universal link (demo.linkid.be)
Any thoughts? Or is this a bug in Safari at this time?
[Update]
Safari iOS 9 with following link will work if you long press the link.
An action sheet appears allowing you to open it via the app.
Chrome iOS 9 all good
In order to make a universal link inside of an iframe work in Safari on iOS9 you can use target="_top". The tradeoff is that the link will open in the same window.
I have a Problem. On Android, Chrome Mobile Devices when i open my website from the Facebook APP my popup is working. e(Popunder)... But when i open the same on my IPhone, iOS, it redirects automatic to about:blank!
Does anyone know this problem?
Regards
Regina
EDIT:
Okay.
1) My Website has got an Popunder script on it from Adcash. 2) When i open the site on iOS, Android, or Desktop the pounder is working very fine. 3) When i open the site on Android, Chrome, etc. from the Facebook inApp is working fine.
But !!!
When i open the site from iOS(IPhone) from the Facebook inApp it will redirect to about:blank empty page...
Do you understand know the problem? I tried many weeks to solve this issue but i don't know why it is so.
I've come across this issue.
On iOS only, and on either Facebook or Twitter's in-app browser
Tap on an article/link
Within the article, tap on a link that goes to a different domain and has a target=_blank attribute
The window is now white with the url set to about:blank
This issue is cross-product and not only Facebook's end.
The only method to address this issue was to change the target attribute from _blank to _self.
I'm trying to see if other people have had this issue or even addressed anywhere else, but this post is the closest I've come across to seeing it addressed.
I am in the mist of creating a mobile web app and have both meta tags
I have an iphone 5 on 7.0.4
When I click on a regular link like the one below it, opens up a mobile safari window and leaves the webapp. I also tried setting the target to _self and same behavior.
Sign in
I then used my ipad which was on 7.0.3 and it worked as should, not opening mobile safari on links. I think proceeded to update my ipad to 7.0.4 and the same issue as I had on my ipad.
Anyone ran into this issue and or knows a fix ?
Thanks
Since iOS 7.0.4 all links in WebApps open in Safari. As a workaround you can use Javascript:
window.location.href='text.html'
But remember that these steps will not be captured in history (so there is no ability to use Javascript like history.back() ..).
Alternatively, if you are using a menu in your web app, try to combine iframe and Javascript, you can change the content of your iframe with this Javascipt:
document.getElementById("frame").src = new_content.html
This will prevent your WebApp to open up links in Safari and stay in WebApp view.