Skip to content
Discussion options

You must be logged in to vote

Thanks for the follow-up. This is very useful.

Your MIUI finding makes sense. If MIUI logs:

process is not permitted to auto start

then the app process is blocked before Android can deliver BOOT_COMPLETED to any receiver inside your app package. In that situation NotifyKit cannot re-arm the alarms at boot time, because the app is not allowed to start.

So yes, on Xiaomi/MIUI, enabling Autostart / background startup is the practical mitigation for this class of issue. The fact that notifications start working after enabling Autostart is a strong confirmation that the main problem is the OEM background-start policy, not TriggerType.TIMESTAMP.

About TaskBroadcastReceiver: that receiver belong…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@marcocrupi
Comment options

Answer selected by theaitechnician
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants