Skip to content

Fixing Android notification options descriptions #820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4659,7 +4659,6 @@ declare namespace admin.messaging {
* for code samples and detailed documentation.
*/
interface NotificationMessagePayload {
tag?: string;

/**
* The notification's body text.
Expand Down Expand Up @@ -4699,6 +4698,15 @@ declare namespace admin.messaging {
*/
color?: string;

/**
* The sound to play when the device receives the notification. Supports
* "default" or the filename of a sound resource bundled in the app. Sound files
* must reside in `/res/raw/`.
*
* **Platforms:** Android
*/
sound?: string;

/**
* Identifier used to replace existing notifications in the notification drawer.
*
Expand All @@ -4708,8 +4716,8 @@ declare namespace admin.messaging {
* the new notification replaces the existing one in the notification drawer.
*
* **Platforms:** Android
*/
sound?: string;
*/
tag?: string;

/**
* The notification's title.
Expand Down