Best solution for push notification with publish/subscribe channels?

I am making an ionic app with rails server. Server will publish to channels from where a push notification should be send (using GCM or APNS) to subscribing devices. I have looked at several solutions like realtime.co, firebase, rpush. But I am unsure what would be the best solution. Do you have any advice? :slight_smile: