Merge pull request #59 from andrewmarmion/master

Update README.md
This commit is contained in:
Jordan Byron 2018-04-16 18:26:11 -04:00 committed by GitHub
commit cd46ce263d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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