dansiegel / Mobile.BuildTools

The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
http://mobilebuildtools.com
MIT License
228 stars 29 forks source link

Background colour not being applied to iOS image from SVG #241

Closed bijington closed 3 years ago

bijington commented 3 years ago

Description

Background colour not being applied to iOS image from SVG.

Reproduction Steps

Using the iOS section the background should be #ffffff.

{
  "$schema": "https://mobilebuildtools.com/schemas/v2/resourceDefinition.schema.json",
  "android": {
      "resourceType": "Mipmap",
      "name": "icon",
      "scale": 0.1875,
      "additionalOutputs": [
          {
              "name": "launcher_foreground",
              "resourceType": "Mipmap",
              "scale": 0.28125,
              "padFactor": 1.5
          },
          {
              "name": "logo",
              "resourceType": "Drawable"
          }
      ]
  },
  "iOS": {
      "name": "AppIcon",
      "background": "#ffffff",
      "additionalOutputs": [
          {
              "name": "logo"
          }
      ]
  }
}

Expected Behavior

The icon background is white.

Actual Behavior

Screenshot 2021-06-15 at 23 44 03

Reproduction App

template.zip