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:
Where is my mistake?
Thank you!
1 post - 1 participant