mianfg commented on pull request #134:
URL: 
https://github.com/apache/cordova-plugin-statusbar/pull/134#issuecomment-819360601


   Hello, I have seen that you have implemented this in production. I am using 
Ionic, and I cannot find a way to use this function (as Ionic's StatusBar 
library does not have this funcion implemented). Let me describe the issue.
   
   If I try to use StatusBar via
   ```ts
   declare let window any;
   ```
   it seems that the height function is not defined, as printing 
`window.StatusBar` gives me:
   ```
   StatusBar:  
   backgroundColorByHexString: ƒ (hexString)
   backgroundColorByName: ƒ (colorname)
   hide: ƒ ()
   isVisible: true
   overlaysWebView: ƒ (doOverlay)
   show: ƒ ()
   styleBlackOpaque: ƒ ()
   styleBlackTranslucent: ƒ ()
   styleDefault: ƒ ()
   styleLightContent: ƒ ()
   __proto__: Object
   ```
   Just to clarify, I am using `cordova` via `ionic cordova run android` and 
using the device inspector to view the console output.
   
   Sorry if this is a somewhat naive question, but I have been reading about 
this for days and I cannot seem to find any way to make this function callable. 
Any help would be appreciated!!!


-- 
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]

Reply via email to