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

[Bug]: Android receives Duplicate Notifications when title is added #1444

Closed
1 task done
cassde opened this issue Oct 20, 2022 · 6 comments
Closed
1 task done

[Bug]: Android receives Duplicate Notifications when title is added #1444

cassde opened this issue Oct 20, 2022 · 6 comments

Comments

@cassde
Copy link

cassde commented Oct 20, 2022

How can we help?

When we send push notifications with Title, ios receives 1 notification, but android receives 2 notifications (one with just that title, 2nd with the message). When we send push notification without adding a title, android also receives just 1 notification, What maybe the reason for such behavior?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cassde cassde changed the title Android receives Duplicate Notifications when title is added [question]: Android receives Duplicate Notifications when title is added [bug]: Oct 22, 2022
@cassde cassde changed the title Android receives Duplicate Notifications when title is added [bug]: [Bug]: Android receives Duplicate Notifications when title is added Oct 22, 2022
@cassde
Copy link
Author

cassde commented Oct 25, 2022

@nan-li can you please advise? this started happening randomly and only when a title is included in the message, after doing some research I think it maybe because oneSignal sends titles as notification which is handled by firebase as a separate notification?

@jennantilla
Copy link
Contributor

Hi @cassde

Thanks for your patience! When did you notice this begin? Does it happen with every notification, or only sporadically?

Are you using any other notification SDKs in your app? We had a prior report of this occurring when also using react-native-notifications.

@gpahal
Copy link

gpahal commented Jan 24, 2023

Any resolution to this bug? Still getting duplicate notifications when the app is in the background. I'm using v4.5.0 of the react native SDK

@nympheastudio
Copy link

for information, bug still exist on version 4.5.1

@nan-li
Copy link
Contributor

nan-li commented Jul 13, 2023

Hi @gpahal, @nympheastudio,
Thanks for asking, this isn't a known bug with the react-native-onesignal SDK. Are you also using react-native-notifications or another notification library?

@Kishore0297
Copy link

i am using react-native-onesignal and react-native-notifications. getting duplicate notifications.

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

6 participants