title: Mqtt and Push notifications
body: <p>I have made an app for ios devices that can connect to a mqtt broker and send and receive messages when the app is in the front or background state.</p>
  
  <p>Now I want to archive to receive messages even if I terminate the app from the background state.</p>
  
  <p>I believe <a href="https://pushy.me/" rel="nofollow noreferrer">pushy</a> is a very good documented service so I was looking at this and  <a href="https://pushy.me/docs/backend/send-push-notifications" rel="nofollow noreferrer">its backend tutorial</a>.</p>
  
  <p>For my broker I use <a href="http://www.hivemq.com/" rel="nofollow noreferrer">hivemq</a> and my question now is, can I modify the code that uses to send messages with that the <code>pushy</code> has?
  Or maybe could I use another broker more flexible?</p>
  
  <p>To sum up I want to know how can I setup my broker to send push notifications (hivemq or anything else more customizable) </p>
  
  <p>Any documentation will be great </p>
  
  <p>Thanks in advance.</p>