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

Deny push.send from browser #231

Open hellzakk opened 8 years ago

hellzakk commented 8 years ago

Hi @raix im trying to prevent the push.send from the browser console with

// inside client directory
Meteor.startup(function () {
  Push.deny({
        send: function(userId, notification) {
            return false;
        }
    });
});

but it doesn't work...

creitz commented 8 years ago

I believe you need to do that on the server.

raix commented 7 years ago

Mental note for my self - add client-side warning