Reputation: 2434
I have a web app with bunch of mailto
links.
E.g. href="mailto:?subject=pawel%20here!&body=Check%20out%20this%20new%20service%20called"
.
They work as expected on iPhone 6S iOS 12.2 when the web app is opened directly in Safari.
Unfortunately they don't work when I create a shortcut to the app on the home screen and launch the app from there.
Any ideas re wha's happening here?
Upvotes: 1
Views: 1098
Reputation: 31
I found this solution:
<a href="#" onclick="window.location='mailto:[email protected]'; return false;" >Write an email</a>
It seems like if working fine to me.
Upvotes: 2
Reputation: 31
I noticed that if I add target="blank"
it works if is launched from home screen, but it left an annoying blank page.
Upvotes: 0