Hi everyone,
I’m using LocalNotifications from @capacitor/core and I want to set the notification icon to this PNG android/app/src/main/res/mipmap-hdpi/ic_launcher.png.
LocalNotifications.schedule({
notifications: [{
title: 'Title',
body: 'Body',
id: 1,
schedule: { at: new Date(Date.now() + 1000 * 5) },
smallIcon: 'res://mipmap-hdpi/ic_launcher',
}]});
It doesn’t work. Any ideas ?
@capacitor/core: 2.0.2
Testing environment: android emulator, android 9
1 post - 1 participant