WorldHealthOrganization / app

COVID-19 App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Push Notifications fail when app is in foreground

brunobowden opened this issue · comments

Summary

Push Notifications fail when app is in foreground. This might be "by design" but I don't think it's the right answer:

WORKS: App is in background
WORKS: App is installed but exited
FAILS: App is in foreground

Reproduction Steps

Send Firebase test message when app is in foreground.

Device:

  • Nexus 5
  • Android 6.0.1

Expected Behavior

Push notification is still shown.

Checklist:

What devices is this happening on?

Device:

  • Nexus 5
  • Android 6.0.1

@brunobowden can you please assign me, I would like to work on that issue :)

Thank you

@champ96k - be our guest. If you have a fix, then I can help push a notification on the staging server to test it with you... or you could setup a server yourself based on the documentation (it's not that hard).