You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Georg Howen (JIRA)" <ji...@apache.org> on 2013/11/28 20:26:35 UTC

[jira] [Created] (CB-5502) StatusBar Plugin 1.0.3 broken ? - CDVPlugin class CDVStatusBar (pluginName: StatusBar) does not exist.

Georg Howen created CB-5502:
-------------------------------

             Summary: StatusBar Plugin 1.0.3 broken ? -  CDVPlugin class CDVStatusBar (pluginName: StatusBar) does not exist.
                 Key: CB-5502
                 URL: https://issues.apache.org/jira/browse/CB-5502
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugins
    Affects Versions: 3.1.0
            Reporter: Georg Howen


I was having issues with the StatusBar plugin when starting my app in portrait mode (screen stayed blank). When disabling the plugin, the app started OK in portrait. (IOS 7.0.4)

When I discovered that there was an update to the plugin I uninstalled the plugin with "cordova plugin remove org.apache.cordova.statusbar", rebuild the project and all references to the plugin were automatically deleted from config.xml. After I added the plugin again to my project the Xcode console via cordova cli and rebuild the project, the config.xml now shows:

<feature name="StatusBar">
        <param name="ios-package" onload="true" value="CDVStatusBar" />
    </feature>
    <preference name="StatusBarOverlaysWebView" value="true" />
    <preference name="StatusBarBackgroundColor" value="#000000" />

But when compiling the app I get the following error message:

2013-11-28 19:13:12.184 WpBIRU[457:60b] Multi-tasking -> Device: YES, App: YES
2013-11-28 19:13:12.223 WpBIRU[457:60b] Unlimited access to network resources
2013-11-28 19:13:12.423 WpBIRU[457:60b] [CDVTimer][splashscreen] 98.445952ms
2013-11-28 19:13:12.424 WpBIRU[457:60b] CDVPlugin class CDVStatusBar (pluginName: statusbar) does not exist.
2013-11-28 19:13:12.426 WpBIRU[457:60b] [CDVTimer][statusbar] 1.693010ms
2013-11-28 19:13:12.427 WpBIRU[457:60b] [CDVTimer][TotalPluginStartup] 103.118956ms
2013-11-28 19:13:12.998 WpBIRU[457:60b] Resetting plugins due to page load.
2013-11-28 19:13:13.791 WpBIRU[457:60b] Finished load of: file:///var/mobile/Applications/29EA21D2-6807-4555-B07B-61197B50C9D7/WpBIRU.app/www/index.html
2013-11-28 19:13:14.166 WpBIRU[457:60b] CDVPlugin class CDVStatusBar (pluginName: StatusBar) does not exist.
2013-11-28 19:13:14.168 WpBIRU[457:60b] ERROR: Plugin 'StatusBar' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2013-11-28 19:13:14.171 WpBIRU[457:60b] -[CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [
  "INVALID",
  "StatusBar",
  "_ready",
  [

  ]
]

Note that there might be a CAPS issue statusbar vs. StatusBar ?



--
This message was sent by Atlassian JIRA
(v6.1#6144)