Even though I'm utilizing a library named vue-native-notification, the functionality should be similar to regular native notifications. I am interested in adding actions to my notifications, such as: Someone is calling you -> answer/decline
The issue arises when I include the actions in my code. The notification ceases to appear without throwing any errors in the console, it just doesn't display. However, once I remove the actions property, everything resumes working properly.
Could there be a problem with my code?
this.$notification.show('Call', {
body: 'Someone is calling you',
icon: 'https://test.com/public/images/logo.png',
image: 'https://test.com/public/images/logo.png',
badge: 'https://test.com/public/images/logo.png',
actions: [
{
action: 'answer',
title: 'Answer'
},
{
action: 'decline',
title: 'Decline'
}
]
}, {});