cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Howen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-5454) Plugin Mapping Issue
Date Thu, 28 Nov 2013 20:45:35 GMT

    [ https://issues.apache.org/jira/browse/CB-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835065#comment-13835065
] 

Georg Howen edited comment on CB-5454 at 11/28/13 8:43 PM:
-----------------------------------------------------------

I am having excatly the same issue. See [CB-5502]. All files seem to be copied to the right
places and the config.xml looks ok too.

First I thought it was only a problem with the StatusBar Plugin, since it had been updated
recently. But when I removed the device plugin from the project and added it again. I got
also an error message:

2013-11-28 20:29:31.746 WpBIRU[14837:a0b] CDVPlugin class CDVDevice (pluginName: Device) does
not exist.
2013-11-28 20:29:31.746 WpBIRU[14837:a0b] ERROR: Plugin 'Device' not found, or is not a CDVPlugin.
Check your plugin mapping in config.xml.
2013-11-28 20:29:31.747 WpBIRU[14837:a0b] -[CDVCommandQueue executePending] [Line 117] FAILED
pluginJSON = [
  "Device763634338",
  "Device",
  "getDeviceInfo",
  [

  ]
]




was (Author: ghowen):
I am having excatly the same issue. See [CB-5502]. All files seem to be copied to the right
places and the config.xml looks ok too.

First I thought it was only a problem with the StatusBar Plugin, since it had been updated
recently. But when I removed the device plugin from the project and added it again. I got
also an error message:

2013-11-28 20:29:31.746 WpBIRU[14837:a0b] CDVPlugin class CDVDevice (pluginName: Device) does
not exist.
2013-11-28 20:29:31.746 WpBIRU[14837:a0b] ERROR: Plugin 'Device' not found, or is not a CDVPlugin.
Check your plugin mapping in config.xml.
2013-11-28 20:29:31.747 WpBIRU[14837:a0b] -[CDVCommandQueue executePending] [Line 117] FAILED
pluginJSON = [
  "Device763634338",
  "Device",
  "getDeviceInfo",
  [

  ]
]

Here's my current config.xml:

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.beaconeer.wpbiru" version="0.5.2" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Hello Cordova</name>
    <description>
        A sample Apache Cordova application that responds to the deviceready event.
    </description>
    <access origin="*" />
    <preference name="AllowInlineMediaPlayback" value="false" />
    <preference name="AutoHideSplashScreen" value="true" />
    <preference name="BackupWebStorage" value="cloud" />
    <preference name="DisallowOverscroll" value="false" />
    <preference name="EnableViewportScale" value="false" />
    <preference name="FadeSplashScreen" value="true" />
    <preference name="FadeSplashScreenDuration" value=".25" />
    <preference name="HideKeyboardFormAccessoryBar" value="false" />
    <preference name="KeyboardDisplayRequiresUserAction" value="true" />
    <preference name="KeyboardShrinksView" value="false" />
    <preference name="MediaPlaybackRequiresUserAction" value="false" />
    <preference name="ShowSplashScreenSpinner" value="true" />
    <preference name="SuppressesIncrementalRendering" value="false" />
    <preference name="TopActivityIndicator" value="gray" />
    <preference name="GapBetweenPages" value="0" />
    <preference name="PageLength" value="0" />
    <preference name="PaginationBreakingMode" value="page" />
    <preference name="PaginationMode" value="unpaginated" />
    <feature name="LocalStorage">
        <param name="ios-package" value="CDVLocalStorage" />
    </feature>
    <feature name="Console">
        <param name="ios-package" value="CDVLogger" />
    </feature>
    <feature name="Notification">
        <param name="ios-package" value="CDVNotification" />
    </feature>
    <feature name="NetworkStatus">
        <param name="ios-package" value="CDVConnection" />
    </feature>
    <feature name="PowerManagement">
        <param name="ios-package" value="PowerManagement" />
    </feature>
    <feature name="SplashScreen">
        <param name="ios-package" value="CDVSplashScreen" />
        <param name="onload" value="true" />
    </feature>
    <author email="dev@callback.apache.org" href="http://cordova.io">
        Apache Cordova Team
    </author>
    <content src="index.html" />
    <preference name="fullscreen" value="true" />
    <preference name="webviewbounce" value="true" />
    <feature name="StatusBar">
        <param name="ios-package" onload="true" value="CDVStatusBar" />
    </feature>
    <preference name="StatusBarOverlaysWebView" value="true" />
    <preference name="StatusBarBackgroundColor" value="#000000" />
    <feature name="Device">
        <param name="ios-package" value="CDVDevice" />
    </feature>
</widget>


> Plugin Mapping Issue
> --------------------
>
>                 Key: CB-5454
>                 URL: https://issues.apache.org/jira/browse/CB-5454
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, iOS, Plugins
>    Affects Versions: 3.1.0
>         Environment: iOS
>            Reporter: Mike Hartington
>              Labels: cli, config.xml,, cordova, cordova-cli
>
> Once I've removed a plugin, I'm unable to add any plugins back again. So from the command
line,
> cordova plugin rm org.apache.cordova.device
> cordova plugin add org.apache.cordova.device
> Everything installs properly but once I go into Xcode and run the project, my console
puts out 
> 2013-11-20 14:59:28.301 ProductDemo[65497:a0b] CDVPlugin class CDVStatusBar (pluginName:
StatusBar) does not exist.
> 2013-11-20 14:59:28.302 ProductDemo[65497:a0b] ERROR: Plugin 'StatusBar' not found, or
is not a CDVPlugin. Check your plugin mapping in config.xml.
> 2013-11-20 14:59:28.303 ProductDemo[65497:a0b] -[CDVCommandQueue executePending] [Line
117] FAILED pluginJSON = [
>   "INVALID",
>   "StatusBar",
>   "overlaysWebView",
>   [
>     true
>   ]
> ]
> I've run thought the debugging option and no errors come up so I'm not sure what the
issue is,  but my config.xml is correct and everything is copied over as far as files go.
Anyone have this issue too?



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

Mime
View raw message