I followed the instructions below in my Ionic 4 app and I get the following error:
ERROR in src/app/Screen1/Screen1.ts:31:28 - error TS2339: Property 'InAppBrowser' does not exist on type 'Cordova'.
https://docs.appery.io/docs/cordova-i...
Code as per Appery tutorial:
codeif (window.cordova) {
cordova.InAppBrowser.open('https://www.google.com', '_self', 'location=yes');
} else {
console.log('no cordova');
}/code
I have also tried:
codeif (window.cordova) {
window.cordova.InAppBrowser.open('https://www.google.com', '_self', 'location=yes');
} else {
console.log('no cordova');
}/code