← Back to context

Comment by dfawcus

2 years ago

To defeat it, one would have to regularly send cover traffic (i.e. push messages saying "nothing happened"), and accept that notification of messages may be delayed until that regular period.

i.e. the app sends its push token to its back end, together with a "use by" date. The server sends a push by that time, even if there is nothing to send. In the case of receiving such a "nothing happened" push, the app gets a new token, and informs the back end server.

The constraint there is how frequently Apple / Google will allow pushes, and how well the respective central server can scale to sending all of those dummy notifications.

The cost for the mobile being extra data use, and extra battery from the forced wake ups. So it may have to be a configurable option in the app.

So do Apple / Google allow at least one notification per hour?