You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/10/19 15:35:46 UTC

[GitHub] [cordova-plugin-statusbar] bublikOff opened a new issue, #254: backgroundColorByHexString does not work?

bublikOff opened a new issue, #254:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/254

   Trying to use status bar plugin with cordova@11
   
   config.xml
   ```
       <preference name="StatusBarOverlaysWebView" value="false" />
       <preference name="StatusBarBackgroundColor" value="#ffa726" />
   ```
   
   In html app Im trying to change color manually according to scroll position but have no luck. 
   It keeps original #ffa726 color
   
   ```
   if(cordova.platformId == 'android')
   {
       StatusBar.backgroundColorByHexString(page.scrollTop > 30 ?  '#ffff' : '#ffa726');
   }
   ```
   
   
   


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-statusbar] bublikOff commented on issue #254: backgroundColorByHexString does not work?

Posted by GitBox <gi...@apache.org>.
bublikOff commented on issue #254:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/254#issuecomment-1285327259

   My fault .. Cordova variable was overridden in app by local dummy data about Cordova


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-statusbar] jcesarmobile commented on issue #254: backgroundColorByHexString does not work?

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #254:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/254#issuecomment-1284639040

   Can you provide a sample app?
   `#ffff` is not a valid value, it should be 6 digits `#ffffff` or 3 digits `#fff`, but not 4.


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-statusbar] bublikOff closed issue #254: backgroundColorByHexString does not work?

Posted by GitBox <gi...@apache.org>.
bublikOff closed issue #254: backgroundColorByHexString does not work?
URL: https://github.com/apache/cordova-plugin-statusbar/issues/254


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org