Call phone number from Capacitor

I am using Call Number - Ionic Documentation
To try and call a number from capacitor.
Following the instructions and added to the provider in app.module.ts no luck. Does not reach error.

Any ideas?

import { CallNumber } from '@ionic-native/call-number/ngx';

constructor(private callNumber: CallNumber,) { }

async onCallNumber(phoneNumber: string) {
    try {
      console.log('about to make phone call');
      const result = await this.callNumber.callNumber(phoneNumber, true);
    } catch(err) {
      this.notificationService.alertError('Unable to make phone call.', 'An Error Occurred');

import { CallNumber } from '@ionic-native/call-number/ngx';

providers: [

Why not just use the old fashion way instead of using a plugin?

<a href="tel:1-562-867-5309">Click to Call!</a>
1 Like

Thinking outside the box. Excellent. I didn’t even know you could do that.

1 Like

Or programatically:'tel:1-562-867-5309');