• Resolved Djib's

    (@djibs13)


    Hello,

    The notifications’ management is also in Preferences > Notifications in OS X

    Each time a visitor registers on a site to receive push notifications, it is possible to set the push in these settings

    View post on imgur.com

    I made a discovery. If after a certain time after registering on a website (a month after, maybe two) you have not clicked on a notification, the website disappears from the list in Preferences > Notifications of OS X. And you no longer receive notifications for this site. This is automatic.

    The only way to receive the push for this site is to remove the site from Safari push’s settings then register again. The site reappears in Preferences> Notifications of OS X.

    NEW FEATURE :

    Add a table in the database with the date of last connection to the site. Each time a push is sent and the user clicks clicks on it, the date associated with the user is updated .

    A script on the page could do that.

    If the user does not navigate for a month or two , its token is removed from the database.

    This will keep a clean database

    What do you think ?

    http://wordpress.org/plugins/safari-push/

Viewing 1 replies (of 1 total)
  • Plugin Author macgamer

    (@macgamer)

    I’ve not seen anything in the documentation that suggests this behaviour, though that’s not saying much, this sounds like a very Apple thing to do.

    That said I’m not going to add the feature you mention: the only time we should be removing device IDs from the database is when Apple specifically requests it. Otherwise you end up in the situation where Safari is telling the user they are subscribed (and the shortcode will do the same on your site), but actually they aren’t.

    That users will stop receiving notifications they are subscribed to may be more of an issue with how Apple has implemented the service, it might be a good idea to log this with them as a bug

Viewing 1 replies (of 1 total)
  • The topic ‘New feature : Clean database’ is closed to new replies.