Ion2FullApp Ionic Template
Buy Ion2FullAppLive PreviewComments
  • What is Ion2FullApp?
  • About Ion2FullApp
  • Set up
  • Code Structure
  • Customize it
  • Data Integration
  • Nifty Stuff
  • Functionalities
    • Wordpress Integration
    • Firebase Integration
    • AdMob
    • App Rate
    • Multi Language
    • Video Playlist
    • Image Picker
    • Twitter Connect
    • Facebook Connect
    • Google Connect
    • Social Sharing
    • Google Maps
    • Call Number
    • Send email
    • Native Storage
  • Troubleshooting
  • Common Questions
Powered by GitBook
On this page
  1. Functionalities

Call Number

Call a phone number from your Ionic App. Learn how we integrated Call Number plugin to Ion2FullApp Ionic Template to call a number directly from the Ionic app.

PreviousGoogle MapsNextSend email

Last updated 6 years ago

We removed this plugin because it’s not stable and it was causing lots of problems. Use it at your own risk.

We use to call a number directly from the app.

To install the plugin run:

$ ionic plugin add call-number --save

$ npm install --save @ionic-native/call-number

Usage example:

The usage is very simple, we only need to know the phone number we want to call when the platform is ready.

openInAppBrowser(){
    this.platform.ready().then(() => {
      this.inAppBrowser('https://google.com', '_blank', "location=yes");
    })
  }

The second parameter from the callNumber function is a boolean to bypass the app chooser. Set it to true if you always wish to bypass the app chooser if user has multiple applications installed that can handle calls.

<button ion-button clear (click)="call()">   
    <ion-icon name="md-call"></ion-icon>
</button>

For more information go to

this plugin
https://github.com/Rohfosho/CordovaCallNumberPlugin