You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/API.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -389,6 +389,7 @@ The event `notification` will be triggered each time a push notification is rece
389
389
|`data.additionalData.foreground`|`boolean`| Whether the notification was received while the app was in the foreground |
390
390
|`data.additionalData.coldstart`|`boolean`| Will be `true` if the application is started by clicking on the push notification, `false` if the app is already started. |
391
391
|`data.additionalData.dismissed`|`boolean`| Is set to `true` if the notification was dismissed by the user |
392
+
|`data.additionalData.applicationState`|`number`| (iOS Only Flag) Contains the application state of the received notification. 0: `UIApplicationStateActive`, 1: `UIApplicationStateInactive`, 2: `UIApplicationStateBackground`|
0 commit comments