My app is uploaded already on Google Play and I'm using this block , but the notification message doesn't appear after installation but every thing is working good.
In test mode by using the companion the notification message appears on android 11.
On another android version like 5 or 6 there is a message appears that the companion has been stopped and after installation (version 5 or 6 ) there is a message say that the app has been stopped.