function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ammar SheikhAmmar Sheikh 

href not working in salesforce one app

I have created a community in salesforce and i wanted to navigate to other apps when user clicks call or email button. I created a lightning web component and I used href="mailto:(email here)" and href="tel:(phone here)" but this doesn't work if I open the community in salesforce one app. It does work on Desktop and Mobile browsers. What might be the problem here?

Thanks

<a href="tel:(Number here)">
                        <img
                          alt="Phone"
                          src={phonePinkIcon}
                          title="Phone"
                        />
                      </a>
              
                      <a href="mailto:(Email here)">
                        <img
                          alt="Email"
                          src={emailPinkIcon}
                          title="Email"
                        />
                      </a>

 
Ammar SheikhAmmar Sheikh

I am getting this error when I click those icons in salesforce one app

User-added image

RajnisfRajnisf
Unfortunately href does not support sf mobile app. I used simple clickable button like below: 
<a class="slds-button" href="javascript:void(0);">Base Link</a>