We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 562ef2c commit 98a6172Copy full SHA for 98a6172
src/local-notifications.android.ts
@@ -79,7 +79,7 @@ export class LocalNotificationsImpl extends LocalNotificationsCommon implements
79
return new Promise((resolve, reject) => {
80
try {
81
// nothing to do on this platform
82
- var context = utils.ad.getApplicationContext();
+ const context = utils.ad.getApplicationContext();
83
const hasPermission=NotificationManagerCompatPackageName.NotificationManagerCompat.from(context).areNotificationsEnabled();
84
resolve(hasPermission);
85
} catch (ex) {
0 commit comments