We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getSubtitle
1 parent 8282d5c commit 904a99fCopy full SHA for 904a99f
README.md
@@ -762,6 +762,16 @@ Gets the notification's title from the `aps` object
762
763
---
764
765
+### `getSubtitle()`
766
+
767
+```jsx
768
+getSubtitle();
769
+```
770
771
+Gets the notification's subtitle from the `aps` object
772
773
+---
774
775
### `getContentAvailable()`
776
777
```jsx
index.d.ts
@@ -97,6 +97,11 @@ export interface PushNotification {
97
*/
98
getTitle(): string;
99
100
+ /**
101
+ * Gets the notification's subtitle from the `aps` object
102
+ */
103
+ getSubtitle(): string | undefined;
104
105
/**
106
* Gets the content-available number from the `aps` object
107
0 commit comments