Android Notch
1
$ ionic cordova plugin add cordova-plugin-android-notch
2
$ npm install @awesome-cordova-plugins/android-notch
Copied!
This plugin enables developers to get the cutout and android devices inset sizes It is based on the cordova plugin developed by @tobspr: https://github.com/tobspr/cordova-plugin-android-notch This plugin works on all android versions, but we can only detect notches starting from Android 9.

Supported platforms

  • Android