How do browser notifications work?

reactive_recall@lemmy.ml to Android@lemmy.world – 10 points –

Hi, I'm trying to learn how does android browsers subscribe to web notifications in order to show push notifications from webpages

Do you know where I can read about this? Maybe some code for android studio?

My plan is to implement it to the Native Alpha app

1