GLopez
GLopez

Reputation: 183

PushNotifications doesn't work after close App - FirefoxOS

I'm developing an app in FirefoxOS that use PushNotifications I followed the instructions in: https://wiki.mozilla.org/WebAPI/SimplePush and https://developer.mozilla.org/en-US/docs/WebAPI/Simple_Push

And All si OK, but just for the time I register the app, the moment I close the App and send a notification nothing happen, and never works again.

Why could this happen and how can I avoid it?

Upvotes: 0

Views: 112

Answers (1)

fharper
fharper

Reputation: 559

Without any code, I I would guess that it may have a problem with the manifest. Did you add

"messages": [
   { "push": "/index.html"},
   { "push-register": "/index.html"}
]

to it?

Upvotes: 1

Related Questions