Tel: works on iphone but not Android


#1

Hi, I’m trying to make a call with ng-href=“tel: {{55512345}}” and also mailto: receipt@mail.com
It works fine on iPhone but not Android.
What could be the issue?

Code:
HTML:
div class=“list”>
a class=“item item-icon-left” ng-href=“tel: {{55512345}}”>
i class=“icon ion-ios-telephone”>
555-12345
/a>
a class=“item item-icon-left” ng-href=“mailto: receipt@mail.com”>
i class=“icon ion-android-mail”>
sendmail
/a>

Config.xml:
access origin=""/>
access origin="tel:
" launch-external=“yes” />
access origin=“mailto:" launch-external=“yes” />
allow-intent href="mailto:
” />
allow-intent href=“tel:*” />
plugin name=“cordova-plugin-whitelist” spec="^1.0.0"/>


#2

add this in your config.xml

 <platform name="android">
           <allow-intent href="market:*" launch-external="yes"/>
             <allow-intent href="tel:*"  launch-external="yes"/>
             <allow-intent href="mailto:*" launch-external="yes"/>
         </platform>

#3

Thanks!
Works with .apk, but not with Ionic View app.