The status bar is completely black (showing no notifications, no time, no WiFi indicators, etc.) whenever I deploy my Ionic application to my Android device. The command I’m using is ionic cordova run android --device. If I use --livereload the status bar appears like normal, but I can’t use the app then unless I am plugged into my computer. I have all of my ionic and cordova dependencies updated globally and in my project, and this appears to happen in the first couple commits of my project so I don’t think I did anything to change this behavior. Does anyone know why this is happening, or is this expected behavior?
One thing that I noticed that was interesting was that path the the CLI packages went to the projects node_modules directory, while the new project I started goes to /usr/lib/node_modules.
By removing the ionicdevDependency from my package.json I was able to get the CLI packages to point at /usr/lib/node_nodules but that doesn’t seem to have fixed my issue. I don’t really see a difference in my package.json at all to be honest.
Then this is not the culprit - tbh it would have surprised me.
Now check the code - or copy over your content over to the new app and see if this breaks things there as well. If yes, do it step by step until you find the trigger.
I finally figured out what it was. I had to delete cordova-plugin-statusbar from my config.xml and package.json and also delete all generated files. Now everything seems to be working fine though.