-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught (in promise): Error: StaticInjectorError[SwPush]: #4
Comments
Hello, did you register the ServiceWorkerModule in app.module? |
How to run the app in dev mode? Source Code export class PushNotificationComponent implements OnInit { private VAPID_PUBLIC_KEY: string; ngOnInit() { showPopupNotification(){
} |
use https://angular.io/api/core/Optional example:
inside constructor:
`, Hope this will help |
Bro can u share the simple example of Push Notification without hitting on server. this so urgent . Kindly do the needful |
Use
|
Wow Awesome Bro for sharing your knowledge in Angular 5 using PWA.
I have issue in SwPush and i have attached screen shot,kindly find the attachment
Can you share me the simple example of source code while click the button option it will show the notification using swPush in Angular 5 with easy example. Kindly do the needful Bro.
This is my Mail ID [email protected]
The text was updated successfully, but these errors were encountered: