Hey there,
I have a file which uses the chrome.notifications API. I'm seeing client errors occur on the following line of code:
chrome.notifications.getPermissionLevel(function (permissionLevel) {
if (permissionLevel === 'granted') {
this._createNotification(options);
}
}.bind(this));
with the error message:
Uncaught TypeError: Cannot read property 'getPermissionLevel' of undefined
However, in my manifest.json, I have the following requirement:
"minimum_chrome_version": "32",
| Availability: | Since Chrome 28. |
How is it possible that some users do not have access to chrome.notifications given the fact that I'm enforcing the minimum chrome version for my extension to be greater than when the API became available?
Thanks
Sean