Before publishing a notification, check whether the notification feature is enabled for your application. By default, the feature is disabled. The application can use**Notification.requestEnableNotification** to prompt the user to enable the feature.
Before publishing a notification, check whether the notification feature is enabled for your application. By default, the feature is disabled. The application calls**Notification.requestEnableNotification** to prompt the user to enable the feature.