How to display temporary banner on mobile when notification received and logged in?

Apple decided to not implement the Web Push API in their browser. Since iOS has only one browser, iOS users don’t have access to Web Push notifications, that is available in Windows, MacOS, Linux and Android.

Existing workarounds are: