react-native-firebase icon indicating copy to clipboard operation
react-native-firebase copied to clipboard

Different Approach When Receiving Notification

Open kriptonhaz opened this issue 8 years ago • 4 comments

Issue

Testing with different physical device as listed as down here with different issue

The trouble device:

  • Oppo R7(OS Version 5.1.1) =>notification goes in tray in both foreground and background, when apps is closed notification didn't show anything
  • Vivo Y83(OS Version 8.1.0) => when apps is closed notification didn't show anything
  • Xiaomi Redmi 4x (OS Version 7.1.2) => notification goes on tray in all apps state (foreground, background, close)

The working device: (all notification is work like I want; heads-up, foreground background, apps closed)

  • Oppo F7 (OS Version 8.1.0)
  • Samsung Galaxy J5 (OS Version 6.0.1)
  • Lenovo A7000 (OS version 6.0)

this is my payload

{ "to" : "device token", "collapse_key" : "type_a", "priority" : "high", "content_available" : true, "data" : { "body" : "First Notification", "title": "Notification Test", "key_1" : "Data for key one", "key_2" : "Hellowww" } }

I've been using tips from 1238 but still not achieving the result as expected. Is there anyway to fix that? at least still receiving notification when apps is closed.

Environment

  1. Application Target Platform: Android
  2. Development Operating System: Windows 10
  3. React Native version: 0.55.4
  4. React Native Firebase Version: 4.3.8
  5. Firebase Module: messaging
  6. Are you using typescript? No

Loving react-native-firebase? Please consider supporting them with any of the below:

kriptonhaz avatar Aug 13 '18 10:08 kriptonhaz

Hello 👋, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 10 '18 10:09 stale[bot]

Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.

stale[bot] avatar Sep 24 '18 11:09 stale[bot]

any updates on this?

sangupandi avatar Jan 16 '19 07:01 sangupandi

Same issue any update on this?

venkat-waran avatar Mar 18 '19 12:03 venkat-waran