expo-notifications 0.32.4 → 0.32.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/build/registerTaskAsync.d.ts +2 -2
  4. package/build/registerTaskAsync.js +2 -2
  5. package/build/registerTaskAsync.js.map +1 -1
  6. package/expo-module.config.json +1 -1
  7. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4.module → 0.32.5/expo.modules.notifications-0.32.5.module} +7 -7
  8. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.md5 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.sha1 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.sha256 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.sha512 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4.pom → 0.32.5/expo.modules.notifications-0.32.5.pom} +1 -1
  13. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.md5 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.sha1 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.sha256 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.sha512 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml +4 -4
  18. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.md5 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1 +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256 +1 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512 +1 -1
  22. package/package.json +5 -5
  23. package/src/registerTaskAsync.ts +2 -2
  24. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.module.md5 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.module.sha1 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.module.sha256 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.module.sha512 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.pom.md5 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.pom.sha1 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.pom.sha256 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.pom.sha512 +0 -1
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4-sources.jar → 0.32.5/expo.modules.notifications-0.32.5-sources.jar} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4-sources.jar.md5 → 0.32.5/expo.modules.notifications-0.32.5-sources.jar.md5} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4-sources.jar.sha1 → 0.32.5/expo.modules.notifications-0.32.5-sources.jar.sha1} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4-sources.jar.sha256 → 0.32.5/expo.modules.notifications-0.32.5-sources.jar.sha256} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4-sources.jar.sha512 → 0.32.5/expo.modules.notifications-0.32.5-sources.jar.sha512} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4.aar → 0.32.5/expo.modules.notifications-0.32.5.aar} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4.aar.md5 → 0.32.5/expo.modules.notifications-0.32.5.aar.md5} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4.aar.sha1 → 0.32.5/expo.modules.notifications-0.32.5.aar.sha1} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4.aar.sha256 → 0.32.5/expo.modules.notifications-0.32.5.aar.sha256} +0 -0
  41. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.4/expo.modules.notifications-0.32.4.aar.sha512 → 0.32.5/expo.modules.notifications-0.32.5.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.32.5 — 2025-08-25
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 0.32.4 — 2025-08-21
14
18
 
15
19
  ### 🛠 Breaking changes
@@ -5,13 +5,13 @@ plugins {
5
5
  }
6
6
 
7
7
  group = 'host.exp.exponent'
8
- version = '0.32.4'
8
+ version = '0.32.5'
9
9
 
10
10
  android {
11
11
  namespace "expo.modules.notifications"
12
12
  defaultConfig {
13
13
  versionCode 21
14
- versionName '0.32.4'
14
+ versionName '0.32.5'
15
15
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16
16
  }
17
17
 
@@ -22,9 +22,9 @@
22
22
  *
23
23
  * const BACKGROUND_NOTIFICATION_TASK = 'BACKGROUND-NOTIFICATION-TASK';
24
24
  *
25
- * defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {
25
+ * TaskManager.defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {
26
26
  * console.log('Received a notification task payload!');
27
- * const isNotificationResponse = 'actionIdentifier' in taskPayload;
27
+ * const isNotificationResponse = 'actionIdentifier' in data;
28
28
  * if (isNotificationResponse) {
29
29
  * // Do something with the notification response from user
30
30
  * } else {
@@ -24,9 +24,9 @@ import BackgroundNotificationTasksModule from './BackgroundNotificationTasksModu
24
24
  *
25
25
  * const BACKGROUND_NOTIFICATION_TASK = 'BACKGROUND-NOTIFICATION-TASK';
26
26
  *
27
- * defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {
27
+ * TaskManager.defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {
28
28
  * console.log('Received a notification task payload!');
29
- * const isNotificationResponse = 'actionIdentifier' in taskPayload;
29
+ * const isNotificationResponse = 'actionIdentifier' in data;
30
30
  * if (isNotificationResponse) {
31
31
  * // Do something with the notification response from user
32
32
  * } else {
@@ -1 +1 @@
1
- {"version":3,"file":"registerTaskAsync.js","sourceRoot":"","sources":["../src/registerTaskAsync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,iCAAiC,MAAM,qCAAqC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,iBAAiB,CAAC,QAAgB;IAC9D,IAAI,CAAC,iCAAiC,CAAC,iBAAiB,EAAE,CAAC;QACzD,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;IACtE,CAAC;IAED,OAAO,MAAM,iCAAiC,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;AAC7E,CAAC","sourcesContent":["import { UnavailabilityError } from 'expo-modules-core';\n\nimport BackgroundNotificationTasksModule from './BackgroundNotificationTasksModule';\n\n/**\n * Call `registerTaskAsync` to set a callback (task) that runs when a notification is received while the app is in foreground, background, or terminated.\n * Only on Android, the task also runs in response to a notification action press when the app is backgrounded or terminated.\n * When the app is terminated, only a [Headless Background Notification](/push-notifications/what-you-need-to-know/#headless-background-notifications) triggers the task execution.\n * However, the OS may decide not to deliver the notification to your app in some cases (e.g. when the device is in Doze mode on Android, or when you send too many notifications - Apple recommends to not [\"send more than two or three per hour\"](https://developer.apple.com/documentation/usernotifications/pushing-background-updates-to-your-app#overview)).\n *\n * Under the hood, this function is run using `expo-task-manager`. You **must** define the task first, with [`TaskManager.defineTask`](./task-manager#taskmanagerdefinetasktaskname-taskexecutor) and register it with `registerTaskAsync`.\n *\n * Make sure you define and register the task in the module scope of a JS module which is required early by your app (e.g. in the `index.js` file).\n * `expo-task-manager` loads your app's JS bundle in the background and executes the task, as well as any side effects which may happen as a consequence of requiring any JS modules.\n *\n * The callback function you define with `TaskManager.defineTask` receives an object with the following fields:\n * - `data`: The remote payload delivered by either FCM (Android) or APNs (iOS). See [`NotificationTaskPayload`](#notificationtaskpayload) for details.\n * - `error`: The error (if any) that occurred during execution of the task.\n * - `executionInfo`: JSON object of additional info related to the task, including the `taskName`.\n * @param taskName The string you passed to `TaskManager.defineTask` as the `taskName` parameter.\n *\n * @example\n * ```ts\n * import * as TaskManager from 'expo-task-manager';\n * import * as Notifications from 'expo-notifications';\n *\n * const BACKGROUND_NOTIFICATION_TASK = 'BACKGROUND-NOTIFICATION-TASK';\n *\n * defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {\n * console.log('Received a notification task payload!');\n * const isNotificationResponse = 'actionIdentifier' in taskPayload;\n * if (isNotificationResponse) {\n * // Do something with the notification response from user\n * } else {\n * // Do something with the data from notification that was received\n * }\n * });\n *\n * Notifications.registerTaskAsync(BACKGROUND_NOTIFICATION_TASK);\n * ```\n * @header inBackground\n */\nexport default async function registerTaskAsync(taskName: string): Promise<null> {\n if (!BackgroundNotificationTasksModule.registerTaskAsync) {\n throw new UnavailabilityError('Notifications', 'registerTaskAsync');\n }\n\n return await BackgroundNotificationTasksModule.registerTaskAsync(taskName);\n}\n"]}
1
+ {"version":3,"file":"registerTaskAsync.js","sourceRoot":"","sources":["../src/registerTaskAsync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,iCAAiC,MAAM,qCAAqC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,iBAAiB,CAAC,QAAgB;IAC9D,IAAI,CAAC,iCAAiC,CAAC,iBAAiB,EAAE,CAAC;QACzD,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;IACtE,CAAC;IAED,OAAO,MAAM,iCAAiC,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;AAC7E,CAAC","sourcesContent":["import { UnavailabilityError } from 'expo-modules-core';\n\nimport BackgroundNotificationTasksModule from './BackgroundNotificationTasksModule';\n\n/**\n * Call `registerTaskAsync` to set a callback (task) that runs when a notification is received while the app is in foreground, background, or terminated.\n * Only on Android, the task also runs in response to a notification action press when the app is backgrounded or terminated.\n * When the app is terminated, only a [Headless Background Notification](/push-notifications/what-you-need-to-know/#headless-background-notifications) triggers the task execution.\n * However, the OS may decide not to deliver the notification to your app in some cases (e.g. when the device is in Doze mode on Android, or when you send too many notifications - Apple recommends to not [\"send more than two or three per hour\"](https://developer.apple.com/documentation/usernotifications/pushing-background-updates-to-your-app#overview)).\n *\n * Under the hood, this function is run using `expo-task-manager`. You **must** define the task first, with [`TaskManager.defineTask`](./task-manager#taskmanagerdefinetasktaskname-taskexecutor) and register it with `registerTaskAsync`.\n *\n * Make sure you define and register the task in the module scope of a JS module which is required early by your app (e.g. in the `index.js` file).\n * `expo-task-manager` loads your app's JS bundle in the background and executes the task, as well as any side effects which may happen as a consequence of requiring any JS modules.\n *\n * The callback function you define with `TaskManager.defineTask` receives an object with the following fields:\n * - `data`: The remote payload delivered by either FCM (Android) or APNs (iOS). See [`NotificationTaskPayload`](#notificationtaskpayload) for details.\n * - `error`: The error (if any) that occurred during execution of the task.\n * - `executionInfo`: JSON object of additional info related to the task, including the `taskName`.\n * @param taskName The string you passed to `TaskManager.defineTask` as the `taskName` parameter.\n *\n * @example\n * ```ts\n * import * as TaskManager from 'expo-task-manager';\n * import * as Notifications from 'expo-notifications';\n *\n * const BACKGROUND_NOTIFICATION_TASK = 'BACKGROUND-NOTIFICATION-TASK';\n *\n * TaskManager.defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {\n * console.log('Received a notification task payload!');\n * const isNotificationResponse = 'actionIdentifier' in data;\n * if (isNotificationResponse) {\n * // Do something with the notification response from user\n * } else {\n * // Do something with the data from notification that was received\n * }\n * });\n *\n * Notifications.registerTaskAsync(BACKGROUND_NOTIFICATION_TASK);\n * ```\n * @header inBackground\n */\nexport default async function registerTaskAsync(taskName: string): Promise<null> {\n if (!BackgroundNotificationTasksModule.registerTaskAsync) {\n throw new UnavailabilityError('Notifications', 'registerTaskAsync');\n }\n\n return await BackgroundNotificationTasksModule.registerTaskAsync(taskName);\n}\n"]}
@@ -33,7 +33,7 @@
33
33
  "publication": {
34
34
  "groupId": "host.exp.exponent",
35
35
  "artifactId": "expo.modules.notifications",
36
- "version": "0.32.4",
36
+ "version": "0.32.5",
37
37
  "repository": "local-maven-repo"
38
38
  }
39
39
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.notifications",
6
- "version": "0.32.4",
6
+ "version": "0.32.5",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.notifications-0.32.4.aar",
28
- "url": "expo.modules.notifications-0.32.4.aar",
27
+ "name": "expo.modules.notifications-0.32.5.aar",
28
+ "url": "expo.modules.notifications-0.32.5.aar",
29
29
  "size": 384677,
30
30
  "sha512": "f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf",
31
31
  "sha256": "b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424",
@@ -122,8 +122,8 @@
122
122
  ],
123
123
  "files": [
124
124
  {
125
- "name": "expo.modules.notifications-0.32.4.aar",
126
- "url": "expo.modules.notifications-0.32.4.aar",
125
+ "name": "expo.modules.notifications-0.32.5.aar",
126
+ "url": "expo.modules.notifications-0.32.5.aar",
127
127
  "size": 384677,
128
128
  "sha512": "f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf",
129
129
  "sha256": "b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424",
@@ -142,8 +142,8 @@
142
142
  },
143
143
  "files": [
144
144
  {
145
- "name": "expo.modules.notifications-0.32.4-sources.jar",
146
- "url": "expo.modules.notifications-0.32.4-sources.jar",
145
+ "name": "expo.modules.notifications-0.32.5-sources.jar",
146
+ "url": "expo.modules.notifications-0.32.5-sources.jar",
147
147
  "size": 99047,
148
148
  "sha512": "ebfea857d5cdd1f40f7566dbecb448ba86454cfe5c4825a923723fffdd24f8163bf7966bb1b78c1fd06dd42898be6144b84d84014f41d8c5e2f6fa2911ba40d0",
149
149
  "sha256": "1382898e690552eb0d0d2ef86fd6104efc559790bb1118ffcb7da37037637eb6",
@@ -0,0 +1 @@
1
+ 6b26a9cf342b9b6d478f7fb695cda90fb936ce450f7fc5a2e35ada14b89cc3be
@@ -0,0 +1 @@
1
+ 8bd1ada24e820a0beef9922a5b9fc8a7384b0d935e4d86d310ca00c24451b9f9e33068646634f5a334ccc8d2db06d0ff10e907d4728712e28b5e0655dc666041
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.notifications</artifactId>
12
- <version>0.32.4</version>
12
+ <version>0.32.5</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.notifications</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ d044590a30d3f1e32a162b1b03e1c19a6bec0f4c25de0f8101bb1d7b27c520ae
@@ -0,0 +1 @@
1
+ cb5392e8f8c0193c82e7cd7bf30bd16b35bb148eb5c7b8c9f4102f6dd6eee22341c633795a1e33e87387bdad93e8729a7df9985684498e7ec7e4469dc78553f7
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.notifications</artifactId>
5
5
  <versioning>
6
- <latest>0.32.4</latest>
7
- <release>0.32.4</release>
6
+ <latest>0.32.5</latest>
7
+ <release>0.32.5</release>
8
8
  <versions>
9
- <version>0.32.4</version>
9
+ <version>0.32.5</version>
10
10
  </versions>
11
- <lastUpdated>20250821234728</lastUpdated>
11
+ <lastUpdated>20250825161907</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- a4ee6926358869167edb40eb6831aed3
1
+ 838632c0883a89c57c45d70ef3bbfba6
@@ -1 +1 @@
1
- 85f9fd1934a6215ca0be79fb91da2c4d2e638106
1
+ 6e215bda2e34c7379b3832c590da8a0532065f3c
@@ -1 +1 @@
1
- e3a0c7cc35c3440a7dba7c12296f619fe5cd00ce2cf55cc8ebaf1f7c03c9d920
1
+ bc15a9d4f5b1d300df4790417a7f26823287ddf3ccb86fdb6a0ec7ce95c739c7
@@ -1 +1 @@
1
- fb30b257991c2a34f01df1da1e005fb1887858a5e5b73298f8564bae10df05856b8a98ac986db6345f4fa6546c9b4446f38596dfd6d68b3327f433c84c734db2
1
+ 50636e77826f5214150363fc2444ea73676b250d00b2688db4b0d690ddda9b2d7983cc3d23679d894d2487ab30d3e25a71b2cc14d02c071f9580aee51e904d56
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "0.32.4",
3
+ "version": "0.32.5",
4
4
  "description": "Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -42,13 +42,13 @@
42
42
  ]
43
43
  },
44
44
  "dependencies": {
45
- "@expo/image-utils": "^0.8.2",
45
+ "@expo/image-utils": "^0.8.3",
46
46
  "@ide/backoff": "^1.0.0",
47
47
  "abort-controller": "^3.0.0",
48
48
  "assert": "^2.0.0",
49
49
  "badgin": "^1.1.5",
50
- "expo-application": "~7.0.2",
51
- "expo-constants": "~18.0.3"
50
+ "expo-application": "~7.0.3",
51
+ "expo-constants": "~18.0.4"
52
52
  },
53
53
  "devDependencies": {
54
54
  "expo-module-scripts": "^5.0.3",
@@ -59,5 +59,5 @@
59
59
  "react": "*",
60
60
  "react-native": "*"
61
61
  },
62
- "gitHead": "f2270a4447fa0939e0d6f95c92bf5238e7162a73"
62
+ "gitHead": "ef0b9ecf9645d3e93587d5ee5030dbfcbf735bbd"
63
63
  }
@@ -26,9 +26,9 @@ import BackgroundNotificationTasksModule from './BackgroundNotificationTasksModu
26
26
  *
27
27
  * const BACKGROUND_NOTIFICATION_TASK = 'BACKGROUND-NOTIFICATION-TASK';
28
28
  *
29
- * defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {
29
+ * TaskManager.defineTask<Notifications.NotificationTaskPayload>(BACKGROUND_NOTIFICATION_TASK, ({ data, error, executionInfo }) => {
30
30
  * console.log('Received a notification task payload!');
31
- * const isNotificationResponse = 'actionIdentifier' in taskPayload;
31
+ * const isNotificationResponse = 'actionIdentifier' in data;
32
32
  * if (isNotificationResponse) {
33
33
  * // Do something with the notification response from user
34
34
  * } else {
@@ -1 +0,0 @@
1
- 853e739e653fbbf1bbd24a7ee2869676d6e9a03b85a1e06a80caf82b39f1552b
@@ -1 +0,0 @@
1
- 177bd283f3cb9501c40404ace59d65eb0f43e603a3d2d058b4b86130ccffc448dea4ece025423a9d9522850d6349bb00253959127cc6b6848fca289c873e6742
@@ -1 +0,0 @@
1
- cb4c1a23ec23da521cef9e47d073b9f76353b62177b5f6094534adbc8795202e
@@ -1 +0,0 @@
1
- 6ef81160183d9b69ab1a4bdda51286da20f3e51991cdce15e51f2c793c86384afe4859418c3f874e7859c6a0c94408711cf6dd3e067a5d404be70d7dce0051da