vendredi 1 février 2019

Angular swPush notificationonclick works in development mode but not in production

I'm developing an angular website with push notification and I'm using swPush to do it. The problem is I can't make it open an URL in prod mod. In dev mode works just fine.

I got the ngsw-worker file from a project in github

https://github.com/u-ryo/angular-swpush/blob/master/docs/ngsw-worker.js

I normally don't program in angular so I don't know what exactly I need to put here to help so please tell me what else you guys need to know and I'll add.

Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire