Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.0 - preview.9
Issue ID
1124206
Regression
No
[Mobile Notifications][Android] Notifications aren't delivered after closing the app on specific devices
Repro steps:
1. Open QA attached project
2. Build and Run on Android
3. Press the "Schedule Notification" button
4. Close the app
Actual: The notification isn't delivered
Reproducible with: 2018.3.5f1, 2019.2.0b3, 2019.2.0a2 with Mobile Notifications version 1.0.0 - preview.9
DUT:
Reproduced on:
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
Didn't reproduce on:
VLNQA00003, Razer Razer Phone (Phone), Android 7.1.1, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00001, Google Pixel 2 (Pixel 2), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00138, Huawei P20 Pro (CLT-L29), Android 8.1.0, CPU: HiSilicon Kirin 970, GPU: Mali-G72
Comments (1)
-
chriscode
Aug 22, 2019 11:39
I have one of these phones, Honor Play, and although Unity notifications don't work, some app's notifications do: for example LifeLine
https://play.google.com/store/apps/details?id=com.threeminutegames.lifeline.google
I've tested this app with all network and data disabled and I still get notifications: this makes me think that notificatiosn CAN work on my device, just not under the current unity implementation.
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Seems that Huawei (including Honor) and Xiaomi utilize aggresive battery saving techniques which restrict app background activities unless the app has been whitelisted by the user in device settings. This means that any scheduled notifications will not be delivered if the app is closed or not running in the background. We are not aware of any way to workaround this behaviour besides encouraging the user to whitelist their app.