Instead it will only be shrunk to not exceed the icon graphic Shield image will no longer be resized to aspect fill the full icon. Default: North - Choices include: NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast Keeps/adds an alpha channel to the icon (useful for android icons) Set custom duration for the timeout of the shields.io request in seconds Ios, android, Examples badge(dark: true)īadge(custom: "/Users/xxx/Desktop/badge.png")īadge(shield: "Version-0.0.3-blue", no_badge: true)Īdds a dark flavored badge on top of your iconĪdd a shield to your app icon from shields.ioĪdds and alpha badge instead of the default beta one Note: If you want to reset the badge back to default, you can use sh 'git checkout - /Assets.xcassets/'. You can also provide your custom badge/overlay or add a shield for more customization. This action will add a light/dark badge onto your app icon.
Automatically add a badge to your app icon