You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/11 18:22:11 UTC

[jira] [Commented] (CB-11023) plugin.xml should be able to add attribute to an existing element in AndroidManifest.xml

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

ASF GitHub Bot commented on CB-11023:
-------------------------------------

Github user riknoll commented on the issue:

    https://github.com/apache/cordova-docs/pull/614
  
    For the examples, I would just give a snippet of the AndroidMainfest and not the whole thing. There's a lot that doesn't change in the before and after. Secondly, the example of force adding plugins is pretty good, but I wonder if this is the right place for it. Perhaps it is better suited for the CLI guide as a sub-heading under the [plugin command](https://github.com/apache/cordova-cli/blob/master/doc/readme.md#cordova-plugin-command). People who get CLI errors might be more likely to look there since they are probably not plugin authors themselves.


> plugin.xml should be able to add attribute to an existing element in AndroidManifest.xml
> ----------------------------------------------------------------------------------------
>
>                 Key: CB-11023
>                 URL: https://issues.apache.org/jira/browse/CB-11023
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI, Plugman
>            Reporter: Carlos Santana
>
> We have a need for a plugin we develop to add the attribute android:name to the <application> element to be able to point to a Class that tracks app sessions for analytics.
> plugin.xml only support via <config-file> only to add elements to AndroidManfist.xml this request is to add an enhancement to also handle adding an attribute to an existing element.



--
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