import { AndroidNotch } from '@awesome-cordova-plugins/android-notch/ngx';
constructor(private androidNotch: AndroidNotch) { }
...
this.androidNotch.hasCutout()
   .then((px: number) => console.log('Inset size: '), px)
   .catch((error: any) => console.log('Error: ', error))
this.androidNotch.getInsetTop()
   .then((px: number) => console.log('Inset size: '), px)
   .catch((error: any) => console.log('Error: ', error))
this.androidNotch.getInsetRight()
   .then((px: number) => console.log('Inset size: '), px)
   .catch((error: any) => console.log('Error: ', error))
this.androidNotch.getInsetBottom()
   .then((px: number) => console.log('Inset size: '), px)
   .catch((error: any) => console.log('Error: ', error))
this.androidNotch.getInsetLeft()
   .then((px: number) => console.log('Inset size: '), px)
   .catch((error: any) => console.log('Error: ', error))