EddyVerbruggen / nativescript-feedback

:loudspeaker: Non-blocking textual feedback for your NativeScript app
MIT License
129 stars 28 forks source link

Allow mipmap's as icon #64

Open wendt88 opened 4 years ago

wendt88 commented 4 years ago

It would be nice to use mipmap's as notification icon like the new launcher icon

for example add this snippet here:

let defType = 'drawable';
let segments = resourcename.split('/');
if (segments.length > 1) {
    defType = segments[0];
    resourcename= segments[1];
}

so as icon property could be set: mipmap/icon or icon (to get it from drawable)