From 2a30e515271c316548174f0b28eedf986c59a99c Mon Sep 17 00:00:00 2001 From: Andrew Marmion Date: Mon, 16 Apr 2018 14:57:48 +0100 Subject: [PATCH] Update README.md Add explanation for setting Android icons. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 2b430d5..9babf1b 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,14 @@ In order to specify icon for your shortcut item, either include `UIApplicationSh Full list of available icons has been already listed in the previous section. +For Android icons, names must contain only lowercase a-z, 0-9, or underscore. So `guide_icon.png` would be acceptable but `guide-icon.png` would not be. Place your icons in res/drawable folder and set them when you create your shortcuts in setShortcutItems in the following way +```js +{ + ... + icon: "guide_icon", + ... +} +``` ### Listening for quick actions in your javascript code First, you'll need to make sure `DeviceEventEmitter` is added to the list of