2021-09-29 20:09:02 +08:00
|
|
|
# Android Notch
|
|
|
|
|
|
|
|
```
|
|
|
|
$ ionic cordova plugin add cordova-plugin-android-notch
|
2021-09-29 21:19:55 +08:00
|
|
|
$ npm install @awesome-cordova-plugins/android-notch
|
2021-09-29 20:09:02 +08:00
|
|
|
```
|
|
|
|
|
2021-09-29 21:19:55 +08:00
|
|
|
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/android-notch/)
|
2021-09-29 20:09:02 +08:00
|
|
|
|
|
|
|
Plugin Repo: [https://github.com/tobspr/cordova-plugin-android-notch.git](https://github.com/tobspr/cordova-plugin-android-notch.git)
|
|
|
|
|
|
|
|
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
|
2021-09-29 20:38:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
|