2

The natural way to use Firebase on mobile is using Android or iOS.

However, I'm in this situation where a client who developed a web app wants to receive push notifications when:

  1. The web app runs on a mobile browser
  2. The mobile browser app is in background

Is that possible?

Note: According to Firebase Documentation, client web apps can receive push notifications when they are in background, but I'm not sure if that extends to web apps running on a mobile browser in background.

AL.
  • 36,815
  • 10
  • 142
  • 281
Mike
  • 1,296
  • 2
  • 15
  • 40

1 Answers1

2

Yes, you can receive push notifications on your mobile even when your browser is not open, but you need to enable it by pressing Allow when prompted, as below.

enter image description here

Grimthorr
  • 6,856
  • 5
  • 41
  • 53
Oussema Aroua
  • 5,225
  • 1
  • 24
  • 44