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

Not receiving background notifications after the app has been swiped away or killed #265

Closed
CV-AjayDodiya opened this issue Jan 11, 2022 · 3 comments

Comments

@CV-AjayDodiya
Copy link

CV-AjayDodiya commented Jan 11, 2022

Description:

  1. I've used OneSignal to send push notifications when app is in background or swiped away or killed and signalR to receive a notification when app is foreground.
  2. I do not receive notifications post 15-20 minutes when app is killed and notifications sent during those period comes altogether when I unlock my phone using power button.
  3. I'm not sure if this is right approach to handle this kind of scenarios, Please guide me if I'm wrong.

Environment
3.10.6

Tested on devices Samsung M30s, Nokia 7.2 and MI A1

@jkasten2
Copy link
Member

@CV-AjayDodiya Thanks reporting the issue, could provide the following details.

  1. Is the notification still displaying on the device?
  2. Can you share the code you are using to handle the received event?
  3. Does this issue still happen in the 4 version of this SDK?

@CV-AjayDodiya
Copy link
Author

You may try the below sample it happens even when I don't implement received event.
OneSignalPush.zip

@jmadler
Copy link
Contributor

jmadler commented May 17, 2022

Closing as duplicate of #245

@jmadler jmadler closed this as completed May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants