ollm commented on pull request #134:
URL:
https://github.com/apache/cordova-plugin-statusbar/pull/134#issuecomment-845910308
Tested on android emulator and seems to work perfectly, except in Android's
Multi-Window mode, for instance, when in portrait orientation, the status bar
might be visible if I'm the top app, but won't be visible when I'm the bottom
app.
Maybe it can be implemented like this in Javascript:
``` javascript
StatusBar.height(onSuccess, onError);
const onSuccess = (height, statusBarHidden) => {
// do something with the statusbar height here
}
const onError = (error) => {
// handle error state; should usually not ever activate
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]