You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter Vojtek (JIRA)" <ji...@apache.org> on 2015/11/25 09:03:11 UTC
[jira] [Updated] (CB-10077) Android Plugin Guidelines - sample
plugin.xml lacks source-file element
[ https://issues.apache.org/jira/browse/CB-10077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Vojtek updated CB-10077:
------------------------------
Summary: Android Plugin Guidelines - sample plugin.xml lacks source-file element (was: Android Plugin Guidelines - sample plugin.xml is not working)
> Android Plugin Guidelines - sample plugin.xml lacks source-file element
> -----------------------------------------------------------------------
>
> Key: CB-10077
> URL: https://issues.apache.org/jira/browse/CB-10077
> Project: Apache Cordova
> Issue Type: Bug
> Components: Website
> Affects Versions: 4.0.0
> Reporter: Peter Vojtek
> Priority: Minor
>
> The page https://cordova.apache.org/docs/en/4.0.0/guide/platforms/android/plugin.html
> contains following Echo Android Plugin Example plugin.xml:
> {code}
> <platform name="android">
> <config-file target="config.xml" parent="/*">
> <feature name="Echo">
> <param name="android-package" value="org.apache.cordova.plugin.Echo"/>
> </feature>
> </config-file>
> </platform>
> {code}
> However I believe to actully copy the Echo.java file when installing plugin, following element must be included in the plugin.xml as well:
> {code}
> <source-file src="src/org/apache/cordova/plugin/Echo.java" target-dir="src/org/apache/cordova/Echo" />
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org