Better to implement something in pokey for Android if you need to connect to relays when you receive a notification
When I had unified push in amber the app couldn't connect to the internet unless the user opened the app or it still in memory
To bypass this I had to keep it running as a service all the time
Maybe it works without a always on service if you use something like work manager