Skip to content

Commit 5019ffc

Browse files
authored
Merge pull request #99 from CatalystCode/thcao/android-docs-update
Minor Android docs update.
2 parents b182afa + 07388c7 commit 5019ffc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/android-installation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,11 @@ const connectionString = '...'; // The Notification Hub connection string
188188
const hubName = '...'; // The Notification Hub name
189189
const senderID = '...'; // The Sender ID from the Cloud Messaging tab of the Firebase console
190190
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.
192196
const channelShowBadge = true;
193197
const channelEnableLights = true;
194198
const channelEnableVibration = true;

0 commit comments

Comments
 (0)