This is a Software related code, the Devs need to implate a way to push notifications while the game is running in the foreground. Just like how you still get notifications even while using Instagram.
Its nothing to do with the OS (Android)
I do feel you tho, hence I suggested a Inbound and Outbound Player Connection Chart here: