Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5720

Add resource-file element to plugin.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-plugman
    • None

    Description

      Add support for <resource-file src="glass.xml" target="xml/glass.xml" /> to a plugin's plugin.xml

      The above example would copy the file glass.xml from the plugin's directory to the platforms/android/res/xml/glass.xml

      This is for the use case when a plugin in needs additional file e.g. in res/xml or other directories.
      An example for Android would be an authenticator that is specified in AndroidManifest.xml

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            ignisvulpis Axel Nennker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: