Github user riknoll commented on the pull request:

    https://github.com/apache/cordova-lib/pull/432#issuecomment-220179183
  
    @ktop I have a couple questions. First, do we have a plan for dealing with 
plugins that have conflicting attribute edits? For example, if plugin A has 
this in its plugin.xml:
    
    ```xml
    <config-file target="AndroidManifest.xml" parent="/manifest" attr="true">
        <uses-sdk android:maxSdkVersion="22" />
    </config-file>
    ```
    
    and plugin B has this in its plugin.xml:
    
    ```xml
    <config-file target="AndroidManifest.xml" parent="/manifest" attr="true">
        <uses-sdk android:maxSdkVersion="17" />
    </config-file>
    ```
    
    Will the user get a build error?
    
    Second, is it possible to reference a sibling of the same tag type? For 
example, given this in my AndroidManifest.xml:
    
    ```xml
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity
            android:label="@string/activity_name"
            android:name="MainActivity" />
        <activity
            android:label="@string/second_activity"
            android:name="SecondActivity" />
    </application>
    ```
    
    If I wanted to add an attribute in the second Activity, how would I do so? 
This isn't a real-life example, but you get the idea.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to