Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification received event is not trigger and unable to fetch payload in iOS #164

Open
1 task
kumarparth380 opened this issue Jul 2, 2020 · 2 comments
Open
1 task

Comments

@kumarparth380
Copy link

kumarparth380 commented Jul 2, 2020

Report

Environment

  • Platforms: iOS
  • iOS version: 9.0
    React-Native: 0.62.1
    react-native-azurenotificationhub - 0.9.5-Patched.1

Issues and Steps to Reproduce

Start the iOS application.
Press Home button (pause/background).
Fire Notification.
Receive Notification (shows in Notification list).

either:
Open up the application (resume).
Click on the notification
or
Directly click on the notification

No 'remoteNotificationReceived' event receive. Not a single function of AppDelegate.m(for receiving notification) is being invoked. I tried putting debugger on these events but sadly it doesn't come across these.

Expected Behavior

Start the iOS application.
Press Home button (pause).
Fire Notification.
Receive Notification (shows in Notification list).

either:
Open up the application (resume).
Click on the notification
or
Directly click on the notification

Receive notification event and fetch payload in it.

Actual Behavior

No notification event receive in background or foreground of iOS.

It seems like the notification receive event is not working. Neither localNotification is being invoked nor the remote notification event is being invoked. I even tried getInitialNotification() but this is also not triggered in iOS.

@olie-chan
Copy link

@kumarparth380 Did you manage to get anywhere with this? I've got the same issue

@rlsbelmiro
Copy link

@kumarparth380 and @olie-chan Did you find solution about this? I have same issue and I don't know where is a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants