Pub/sub with ionic push?

I am looking for the best solution for push notifications with pub/sub channels functionality. Currently my app uses pure websockets with redis, but because I rewrite it’s backend to rails I am looking to improve on architecture decisions. I was checking the new ionic push service but it’s docs dont mention pub/sub so maybe some of you have any suggestions?