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]: Old Notification Displayed When Starting App #1977

Open
1 task done
simon1867 opened this issue Feb 1, 2024 · 5 comments
Open
1 task done

[Bug]: Old Notification Displayed When Starting App #1977

simon1867 opened this issue Feb 1, 2024 · 5 comments

Comments

@simon1867
Copy link

simon1867 commented Feb 1, 2024

What happened?

An old notification is displayed when starting the app.

Steps to reproduce?

Login
Get a notification
Force stop the app
Launch it later
Old notification is displayed again

What did you expect to happen?

I expected not to see the old notification

OneSignal Android SDK version

5.1.2

Android version

13

Specific Android models

Android Emulator Pixel 3a on API 34

I'm pretty sure the fix is an easy one.
NotificationGenerationProcessor.kt line 57
Change if (!isRestoring && isDuplicateNotification(notification)) -> if (isRestoring || isDuplicateNotification(notification))

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

@simon1867 thanks for reporting, we'll look into this more and get back to you as soon as possible.

@kishibata
Copy link

Hello @simon1867
Could you please provide any updates on the status of this issue?

@simon1867
Copy link
Author

Hello @simon1867 Could you please provide any updates on the status of this issue?

Has there been a new release to address this?

@kishibata
Copy link

kishibata commented Apr 4, 2024

@simon1867
I apologize, I meant to mention @jennantilla, but I accidentally mentioned you.

@kishibata
Copy link

Hello @jennantilla
Could you please provide any updates on the status of this issue?

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