Meteor-Community-Packages / raix-push

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

production: false not working as expected #313

Open derwaldgeist opened 6 years ago

derwaldgeist commented 6 years ago

I upgraded from an earlier version of raix:push to the latest 3.0.2 and replaced config.push.jsonwith the new JS-based configuration Push.Configure().

However, whatever I try, I cannot set production: false. If I configure it like this:

{
  apn: {
    ...
    production: false,
    ...
  },
  production: false, 
}

the server still prints:

WARNING: Push APN is configured to production mode - but server is running from localhost

I am also wondering why there are multiple production flags and not just one?

burkaslarry commented 6 years ago

I also get this response.

raix commented 6 years ago

Interesting - sounds like a bug