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

OnNotification not being called on release mode [iOS]

Open hisothreed opened this issue 8 years ago β€’ 9 comments

Issue

onNotification event is being called on debug mode, but when running on release it’s not being called, only getInitialNotification is working on release mode

Environment

  1. Application Target Platform: iOS
  1. Development Operating System: macOS

  2. Build Tools: xcode

  1. React Native version: 0.55.4

  2. RNFirebase Version: latest

  1. Firebase Module: Notifications/ messaging

hisothreed avatar Oct 10 '18 07:10 hisothreed

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 Nov 08 '18 11:11 stale[bot]

Same issue. Notification listener OnNotification works in development. When I build release app on IOS I will get only once notification in Foreground. If I set the app in the background and go back to the foreground, I will not get foreground notification any more. But background notification works.

RyszardRzepa avatar Nov 14 '18 13:11 RyszardRzepa

I have the same issue in android onNotification being triggered on emulatore but once i do a build -relaese mode it never triggered on real device !

FadiAboMsalam avatar Nov 23 '18 14:11 FadiAboMsalam

Same situation on IOS - in development notifications works, in production doesn't

alexey-chernikov avatar Nov 29 '18 15:11 alexey-chernikov

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 Dec 27 '18 22:12 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 Jan 10 '19 22:01 stale[bot]

same problem. any solution ?

alikianinejad avatar May 21 '19 17:05 alikianinejad

Same issue. Notification listener OnNotification works in development. When I build release app on IOS I will get only once notification in Foreground. If I set the app in the background and go back to the foreground, I will not get foreground notification any more. But background notification works. @RyszardRzepa I have same issue as you. did you find any solution?

alikianinejad avatar May 21 '19 19:05 alikianinejad

same issue @alexey-chernikov @FadiAboMsalam @RyszardRzepa did you find any solution ?

alikianinejad avatar Feb 12 '20 16:02 alikianinejad