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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.