2024-05-24 23:28:56 +00:00
|
|
|
import * as plugins from './plugins.js';
|
2024-05-14 00:18:42 +00:00
|
|
|
import * as interfaces from '../dist_ts_interfaces/index.js';
|
2024-05-24 23:28:56 +00:00
|
|
|
import { logger } from "./logging.js";
|
2024-05-11 10:51:20 +00:00
|
|
|
|
|
|
|
export class NotificationManager {
|
|
|
|
|
|
|
|
constructor() {
|
|
|
|
// this.askPermission();
|
|
|
|
}
|
|
|
|
|
|
|
|
public askPermission () {
|
|
|
|
Notification.requestPermission((status) => {
|
|
|
|
console.log('Notification permission status:', status);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|