prkng / api

REST API powering Prkng apps and Web services
MIT License
10 stars 8 forks source link

Using hello call for occasional alerts #12

Open mudar opened 8 years ago

mudar commented 8 years ago

We could use the POST /v1/hello endpoint to send alerts to users who don't update their app. This would be used in cases where Notifications can't do the job... Some Examples:

My suggestion would be something like

alert: {
  "title": "Update required",
  "body": "Your app version is no longer supported. Please update app",
  "force_close": true,
  "action": "maybe?",
  "url": "maybe?"
}

subscribing @antonino-u

mudar commented 8 years ago

A good example!

car2go alert