How can I capture all PUSH notifications in server-side database?

The product team loves PUSH notification. Now they want us to keep a history of ALL push notifications ever sent to the user and provide a list of them so the user can scroll back and see past notifications.

My problem is how can I capture every PUSH notification sent to a given user, and present them in a list to the user? I can't just capture them in the app and save them locally to coreData (or whatever) - the app will never see the notifications unless it happens to be running when it arrives.

One thought was that we could build our own web form for sending push notifications. Then, each time our Admin sends a PUSH via this form, we make a copy in our database, and then our app can access this database (via an API) and display a list of notifications, even including those which the user may not have seen ever for one reason or another.

But then I realized that this will break if we want to use any kind of audience segmenting (tags for example). We need to be able to send our targetted push notifications, which might end up being sent to 1000 out of our 50,000 user base. How can I serve these notifications via our database if I don't know which users should be getting them!

Has anyone else tried to impelment something like this? How did you do it?

 

has anyone any brilliant ideas about how to actually do this? Please speak up!

THANK YOU!

Didn't find what you were looking for?

New post

Comments

5 comments

  • Hi! This information is all sent via our data integration product, Connect. We even provide connectors to popular data warehouse solutions. Please read more here:

    https://docs.urbanairship.com/guides/connect-primer/ 

  • Sounds good Aaron - though I hesitate to ask the cost -  will start with the connect primer. Thanks.

    0
  • Hi David, we offer Connect plans that should fit your project's budget. However, we want to make sure it's the right solution for you so there is a trial available as well which can be signed up from within the Urban Airship web dash by clicking the Connect link in the top nav.

    0
  • Actually, Aaron, I'm exploring the Message Center now, I think it does almost everything we want.

    0
  • Hi David. That's also a viable way to do this if you want the messages stored on the device and accessible to the user. Please let me know if there is any help we can provide in Message Center implementation or sending.

    0

Please sign in to leave a comment.