Nativ call not working

Hello,

I try to made a call, when the user tap on a phonenumber:
(The page is display modal)

import { InAppBrowser, InAppBrowserObject } from '@ionic-native/in-app-browser/ngx';

 constructor(
    private inAppBrowser: InAppBrowser,
  )
  openUrl(url: string) {
    const browser: InAppBrowserObject = this.inAppBrowser.create(url, '_system', 'hidden=yes,location=yes');
  }

  launchCall(n: string) {
    alert(n);
    const browser: InAppBrowserObject = this.inAppBrowser.create('tel:' + n, '_system', 'hidden=yes,location=yes');
  }

  sendMail(url: string) {
    const browser: InAppBrowserObject = this.inAppBrowser.create(
      'mailto:' + url + '?subject=Subject', '_system', 'hidden=yes,location=yes');
  }

openURL and sendMail is working

But not launchCall.

I have in my config.xml:

    <access origin="*" />
    <access launch-external="yes" origin="tel:*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />

Where is my mistake?

Thank you!

Have you connected the browser dev tools? Nothing seem wrong, but the dev tools will tell you if there is an error.

Hi,

thank you … unfortunately I’m a beginner.
I develop on a MacBook … which dev tool did you mean?

Thank you … I start the simulator with:
ionic cordova emulate ios --livereload

But this open Port 8100 on my MacBook and don’t display the complete app … because I did not add a browser platform?

I try to test only with my iPhone or emulate.

But here the Chrome DevTools are not working, right?