HMS-Core / hms-react-native-plugin

This repo contains all of React-Native HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
241 stars 68 forks source link

Clarification on Push Notification Behavior When Disabled #332

Open rakeshpalivela opened 4 months ago

rakeshpalivela commented 4 months ago

Dear Huawei Team,

I am seeking clarification regarding the behavior of push notifications on Huawei devices when notifications are turned off in the system settings.

Specifically, I would like to understand the following:

  1. When a user disables push notifications for an app in the device settings, can the app still receive and process silent or data-only notifications while it is running in the foreground?
  2. Is there any difference in behavior for apps using the Huawei Push Kit compared to other notification services in this scenario?

I have reviewed the Push Kit documentation (https://developer.huawei.com/consumer/en/doc/HMSCore-Guides-V5/android-config-agc-0000001050170137-V5) and notification restrictions (https://developer.huawei.com/consumer/en/doc/HMS-Guides/push-restrictions), but I was unable to find explicit information on this specific aspect.

Your guidance on this matter would be greatly appreciated, as it is crucial for the development and user experience of our app.

Thank you for your assistance.