cordova-plugin-shortcuts-android icon indicating copy to clipboard operation
cordova-plugin-shortcuts-android copied to clipboard

"iconFromResource" element missing from Shortcut interface

Open sertal70 opened this issue 6 years ago • 1 comments

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.

sertal70 avatar Jan 29 '19 15:01 sertal70

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

tajnymag avatar Aug 14 '19 14:08 tajnymag