Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit a17a464

Browse files
committed
1 parent b77c465 commit a17a464

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,4 +604,14 @@ Notifications.setNotificationCategories = function() {
604604
return this.callNative('setNotificationCategories', arguments);
605605
}
606606

607+
// https://developer.android.com/reference/android/app/NotificationManager#IMPORTANCE_DEFAULT
608+
Notifications.Importance = Object.freeze({
609+
DEFAULT: 3,
610+
HIGH: 4,
611+
LOW: 2,
612+
MIN: 1,
613+
NONE: 0,
614+
UNSPECIFIED: -1000,
615+
});
616+
607617
module.exports = Notifications;

0 commit comments

Comments
 (0)