Can't set color of statusbar with cordova-plugin-statusbar

前端 未结 3 1779
有刺的猬
有刺的猬 2021-01-01 02:10

I\'m trying to change the color of the native status bar in an ionic app, but I can\'t get it to work. I\'ve installed cordova-plugin-statusbar, and it installs fine. The fo

3条回答
  •  一个人的身影
    2021-01-01 02:45

    Could you try removing the status bar plugin and reinstalling like so:

    ionic plugin rm org.apache.cordova.statusbar
    ionic plugin add https://github.com/apache/cordova-plugin-statusbar.git
    

    The same has been reported at the ionic issue tracker

提交回复
热议问题