tel link android not working (Galaxy S5)

后端 未结 2 785
陌清茗
陌清茗 2020-12-10 11:06

I\'m new to mobile hybrid app development. I have a HTML 5 hybrid app developed in Angular and Ionic where in part of the application i want to launch the native phone app (

相关标签:
2条回答
  • 2020-12-10 11:18

    As Commented above:

    Cordova 3.6.0 introduces a second whitelist, for restricting which URLs are allowed to launch external applications. Cordova 3.6.0 Whitelist Guide So you need to add explicitly in the config.xml:

    <access origin="tel:*" launch-external="yes" /> 
    <access origin="geo:*" launch-external="yes" /> 
    

    Originally posted here.

    Thanks

    0 讨论(0)
  • 2020-12-10 11:32

    You should add this line in config.xml to let the app lunch an external app: <access origin="tel:*" launch-external="yes" />

    0 讨论(0)
提交回复
热议问题