Hi. Trying to move my extension from MV2 to MV3.
I faces strange situation while trying to chrome.notification.update() existing notification.
It's successful for first time, but no reaction and no errors on next tries.
Here is a code that works great on MV2 version of
extension:
```
const contents = {
type: 'basic',
iconUrl: '../assets/icon.png',
title: data.state,
message: data.number,
buttons: [{title: platform.i18n.getMessage('endcall')}],
silent: true,
requireInteraction: true
};
chrome.notifications.getAll((items) => {
if (items.hasOwnProperty('ctc')) chrome.notifications.update('ctc', contents);
else chrome.notifications.create('ctc', contents);
});
```
So and API wasn't changed as i know. How to fix?