File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,11 @@ const connectionString = '...'; // The Notification Hub connection string
188
188
const hubName = ' ...' ; // The Notification Hub name
189
189
const senderID = ' ...' ; // The Sender ID from the Cloud Messaging tab of the Firebase console
190
190
const tags = [ ... ]; // The set of tags to subscribe to
191
- const channelImportance = 3 ; // The channel's importance (IMPORTANCE_DEFAULT = 3)
191
+ const channelImportance = 3 ; // The channel's importance (NotificationManager.IMPORTANCE_DEFAULT = 3)
192
+ // Notes:
193
+ // 1. Setting this value to 4 enables heads-up notification on Android 8
194
+ // 2. On some devices such as Samsung Galaxy, changing this value requires
195
+ // uninstalling/re-installing the app to take effect.
192
196
const channelShowBadge = true ;
193
197
const channelEnableLights = true ;
194
198
const channelEnableVibration = true ;
You can’t perform that action at this time.
0 commit comments