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

Adding <resource-file> tag support to config.xml

    XMLWordPrintableJSON

Details

    Description

      At present, there are only an icon element and splashscreen element that handles copying images from a source to destination in the config.xml. These elements also only handle copying 1 image only and replacing what was previously there as the icon.png or splash.png.

      I'm creating a new tag that will copy non-main app icon images, which could be notification icons, button icons, custom image text, etc. and not limited to just 1 image.

      Example:
      <image src="res/android/notification.png" name="notification.png" />
      <image src="res/android/notification-mdpi.png" name="notification.png" density="mdpi" />

      The required attributes will be src and name.
      Depending on the directory that the image gets copied to, the width and height attribute may not be needed.

      Attachments

        Activity

          People

            dpogue Darryl Pogue
            ktop500 Karen Tran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified