cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4379) Android PluginManager not loading plugins from config.xml
Date Mon, 29 Jul 2013 18:59:50 GMT

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

ASF subversion and git services commented on CB-4379:
-----------------------------------------------------

Commit 93d94106a2998aef03090bf8e0ccd96cd0f887af in branch refs/heads/master from [~sierra]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=93d9410 ]

[CB-4379] replace plugin tag w/feature in guide content, rm plugins tag

Conflicts:

	docs/en/edge/guide/platforms/android/plugin.md

                
> Android PluginManager not loading plugins from config.xml
> ---------------------------------------------------------
>
>                 Key: CB-4379
>                 URL: https://issues.apache.org/jira/browse/CB-4379
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>         Environment: Windows 7 x64 (but should not be relevant)
>            Reporter: Maciej Jaros
>            Assignee: Mike Sierra
>            Priority: Critical
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function doesn't set service/class
values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
>                 }
>                 else if (strNode.equals("plugin")) {
>                     service = xml.getAttributeValue(null, "name");
>                     pluginClass = xml.getAttributeValue(null, "value");
>                 }
>                 else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment the mentioned
plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message