StatusBar Plugin no longer included by default


#1

Hi guys!

When creating a new project now with v1.0.0-beta.6 it seems that the StatusBar plugin is no longer fetched and added when I run the ionic start command to create a new project. I know it was included at one point in past versions. I see the feature in the config.xml but the code for it is not fetched. Here’s some trace from what I was doing:

Creating Ionic app in folder /Users/hollyschinsky/MobileProjects/TestIonicNew based on tabs project 

DOWNLOADING: https://github.com/driftyco/ionic-app-base/archive/master.zip 

DOWNLOADING: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip Initializing cordova project. 

Fetching plugin "org.apache.cordova.device" via plugin registry 
Fetching plugin "org.apache.cordova.console" via plugin registry
Fetching plugin "https://github.com/driftyco/ionic-plugins-keyboard" via git clone 

config.xml does have this:

<feature name="StatusBar"> <param name="ios-package" onload="true" value="CDVStatusBar" /> 
</feature>

but no obj-c classes for the actual plugin code is included in the Plugins folder for iOS. Also if you do a cordova plugin list it’s not listed (since it was never fetched upon start).

Once I add it manually with

cordova plugin add org.apache.cordova.statusbar

it works as expected. Just wondering if it’s still supposed to be included with a new project since the feature tag and fullscreen preference for it is still in the config.xml. Or maybe it’s no longer supposed to be included by default?

BTW, love the new Learn site, nicely done! Keep up the great work as always! :smile:

Thanks!
Holly

========================================================================


#2

Hey @hollyschinsky, thanks for pointing this out.

There was some issue a while back with android and the statusbar plugin, so we opted to remove it as a default plugin. Not to sure if the issue has been resolved on cordova’s end, so some more testing will need to be done.

Thanks for the kind words on the Learn site!
Big fan of your blog as well :smile: