Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,16 @@ Gets the notification's title from the `aps` object

---

### `getSubtitle()`

```jsx
getSubtitle();
```

Gets the notification's subtitle from the `aps` object

---

### `getContentAvailable()`

```jsx
Expand Down
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ export interface PushNotification {
*/
getTitle(): string;

/**
* Gets the notification's subtitle from the `aps` object
*/
getSubtitle(): string | undefined;

/**
* Gets the content-available number from the `aps` object
*/
Expand Down