Search Issue Tracker
Fixed
Votes
0
Found in [Package]
2.4.1
Issue ID
MNB-93
Regression
No
[Android] The "AndroidNotificationCenter.GetLastNotificationIntent()" returns old notification when application looses and gains the focus
How to reproduce:
1. Open the “ReproProject.zip“ project
2. Open the “Bug“ scene
3. Build and Run for Android
4. Press the “Show in 10 seconds“ button
5. Wait a bit for the notification to appear
6. Click on the notification
7. Put the app in the background and back to the foreground
8. Open the on-screen Debugger
9. Check the “Notification (id: <id>) status“
Expected result: The "AndroidNotificationCenter.GetLastNotificationIntent()" does not return old notifications
Actual result: The "AndroidNotificationCenter.GetLastNotificationIntent()" returns old notifications that already have been handled before with the “Unknown“ status
Reproducible with: 2.3.2 (6000.0.23f1), 2.4.1 (6000.0.58f1, 6000.2.4f1, 6000.3.0b1)
Reproducible environment: macOS 15.6.1 (M4 Max), Windows 11 (Reporters)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00511, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00319, Google - (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00107, Huawei Nexus 6P (Nexus 6P), Android 8.1.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
Samsung Galaxy A72 on Android 14 (Build UP1A.231005.007.A725FXXSBFYC1) (Reporters)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/MNB-89