Before I spend too much more time trying to get my PWA to show Local Notifications, I thought I just should ask if they are actually supported.
In my PWA, I have a ion-button that when clicked calls LocalNotifications.requestPermissions(); but through Chrome DevTools I can see that an error is thrown:
ERROR Error: Uncaught (in promise): Error: Notifications not supported in this browser.
This is on my Android phone.
Here is my info:
$ ionic info
Ionic:
Ionic CLI : 6.17.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.5
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 3.5.1
@capacitor/android : 3.5.1
@capacitor/core : 3.5.1
@capacitor/ios : 3.5.1
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run (update available: 1.6.0) : 1.5.0
System:
NodeJS : v12.19.0 (/usr/local/bin/node)
npm : 6.14.15
OS : macOS Monterey