Let's follow up this discussion at the Neptune Community
(this forum will be kept in read-only mode)
I'm facing a little problem. First of all, i'm a newbie in UI5. Here is my problem. If I click an Email link in my app, i would like it to open a new window to create an email to that email address in Neptune Client for IOS, the apps gets stuck in a window saying "Loading" at the bottom and nothing happens. Same thing if I clik on a phone number. This feature (phone call) works in Safari on iPhone but not email in Safari.
Email works fine on a computer using Chrome. Is there any settings that has to done on the iPhone to allow the Neptune Client to do those actions (phone call and email).
I'm using Neptune Client on an iPhone 4S IOS version 7.1.2.
var href = oLinkPhone.getProperty("text");
var urlHelper = window.open("tel:" + href, "_blank");
Snipet for Email link on Press event:
var href = oLinkDetailEmail.getProperty("text");
var urlHelper = window.open("mailto:" + href, "_blank");
Thanks in advance !
You will also find that sap.m offers triggerTel and triggerSms methods.
You can find a working example of email triggering if you download "Birthday and Anniversaries" app from Neptune Appstore.
Hope you find this information helpful, kind regards,
Two in row. I'm glad to see that I can count on people like you ! I will try this.
Many thanks !
:) You are welcome Pierre.
You make my day !
Eureka it works on iPhone using Neptune Client and Safari and on my laptop using Chrome ! You're the best in the west lol !