iosruby-on-railsapple-push-notifications

Sending APN notifications to two different apps from same API


We have a rails API that we would like to use to send notifications to client and admin iOS apps. Does anyone know if this is possible? We have it setup now sending to the client app but not sure how to proceed sending to admin. We are hosting the API on heroku now using redis and a worker dyno to send the notifications.


Solution

  • Read the docs here.

    You cannot push to 2 separate apps in 1 call to the service but you should definitely be able to make a call for each app.