cordova-plugin-shortcuts-android
cordova-plugin-shortcuts-android copied to clipboard
"iconFromResource" element missing from Shortcut interface
In file shortcuts.d.ts
the interface Shortcut
does not list the iconFromResource
element, which is reported in README and referenced in ShortcutsPlugin.java
at this line.
That interface list instead a iconPath
element which is unknown to the plugin.
Hi, as avargaskun doesn't seem to be responding to issues and pull-requests, I forked this repository and merged a fix for your issue and one of the pull-requests (I'll merge and fix more if I find them working correctly)
https://github.com/Tajnymag/cordova-plugin-shortcuts-android