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 8fd3bde commit ac7bd3dCopy full SHA for ac7bd3d
src/local-notifications.android.ts
@@ -78,7 +78,6 @@ export class LocalNotificationsImpl extends LocalNotificationsCommon implements
78
hasPermission(): Promise<boolean> {
79
return new Promise((resolve, reject) => {
80
try {
81
- // nothing to do on this platform
82
const context = utils.ad.getApplicationContext();
83
const hasPermission = NotificationManagerCompatPackageName.NotificationManagerCompat.from(context).areNotificationsEnabled();
84
resolve(hasPermission);
0 commit comments