Meteor-Community-Packages / raix-push

DEPRECATED: Push notifications for cordova (ios, android) browser (Chrome, Safari, Firefox)
https://atmospherejs.com/raix/push
MIT License
513 stars 197 forks source link

Push.configured data get lost after closing the app #261

Open tafelito opened 7 years ago

tafelito commented 7 years ago

Hi @raix , do you know why am I be losing the Push.configured after I close the app? I'm doing this

if(!Push.configured) {
    Push.Configure({
                  "ios": { 
                    "sound": true,
                    "badge": true,
                    "alert": true,
                    "vibrate": true
                  }
    });
}

Every time I close the app and open it again, Push.configured is false

Could it be related to the fact I'm using GroundDB?

Thanks

tafelito commented 7 years ago

I see that the configured is a local variable. The problem is that the listeners like startup or message are never called unless I call the configure every time I open the app, although I do get the push notifications

jensljungblad commented 7 years ago

I've also noticed that the startup event is no longer working. Perhaps the same issue?