Skip to main content

User-level push configuration

User-level push configuration applies to the currently logged-in user.

info

User-level push settings require User-level feature settings to be enabled for the App Key. Submit a ticket to enable.

Set push language preference

Set the display language for push notification content for the current user. Supported languages: Simplified Chinese (zh_CN), English (en_US), Arabic (ar_SA).

Dart
await NCEngine.changePushLanguage(language, (error) {
if (error == null) print('Push language updated');
});

Set push content display preference

Control whether push notifications show content details. If disabled, notifications display a generic message like "You received a notification."

Dart
await NCEngine.changePushContentShowStatus(showContent, (error) {
if (error == null) print('Push content display preference updated');
});

Set multi-device push preference

Control whether offline mobile devices receive push notifications when the user is online on Web or PC. Requires Web/PC online mobile push to be enabled at the App Key level.

Dart
await NCEngine.changePushReceiveStatus(receive, (error) {
if (error == null) print('Multi-device push preference updated');
});