Check if notification was received when app is closed

Hi, I’m working on a social/messaging app.

On some Android devices notifications don’t get delivered which is a known issue due to manufacturers like Xiaomi or Oneplus killing apps in background unless auto-start is manually activated for your app.

I stumbled upon an article on this problem: https://hackernoon.com/notifications-in-android-are-horribly-broken-b8dbec63f48a The solution here was to check in app wether a notification was received or not and then displaying a message to direct users to the settings to enable auto-start.

As stated in the expo push notifications docs however there seems to be no way to detect this when the app was closed at the time of sending the notification…

Since notifications are really crucial to my app my question is if there is any possible way around this? I would even be happy if its a “hacky” solution. :face_with_head_bandage:

Thanks in advance!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.