expo-notifications 57.0.23 → 57.0.24

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 (49) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/notifications/notifications/NotificationManager.kt +10 -2
  4. package/android/src/main/java/expo/modules/notifications/notifications/emitting/NotificationsEmitter.kt +2 -1
  5. package/android/src/main/java/expo/modules/notifications/notifications/interfaces/NotificationListener.kt +5 -2
  6. package/expo-module.config.json +1 -1
  7. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.23/expo.modules.notifications-57.0.23-sources.jar → 57.0.24/expo.modules.notifications-57.0.24-sources.jar} +0 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24-sources.jar.md5 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24-sources.jar.sha1 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24-sources.jar.sha256 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24-sources.jar.sha512 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.aar +0 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.aar.md5 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.aar.sha1 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.aar.sha256 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.aar.sha512 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.23/expo.modules.notifications-57.0.23.module → 57.0.24/expo.modules.notifications-57.0.24.module} +22 -22
  18. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.md5 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.sha1 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.sha256 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.sha512 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.23/expo.modules.notifications-57.0.23.pom → 57.0.24/expo.modules.notifications-57.0.24.pom} +1 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.md5 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.sha1 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.sha256 +1 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.sha512 +1 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml +4 -4
  28. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.md5 +1 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1 +1 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256 +1 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512 +1 -1
  32. package/package.json +3 -3
  33. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.md5 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.sha1 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.sha256 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.sha512 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar +0 -0
  38. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.md5 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.sha1 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.sha256 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.sha512 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.md5 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.sha1 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.sha256 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.sha512 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.pom.md5 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.pom.sha1 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.pom.sha256 +0 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 57.0.24 — 2026-10-22
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 57.0.23 — 2026-10-14
14
18
 
15
19
  ### 🐛 Bug fixes
@@ -5,13 +5,13 @@ plugins {
5
5
  }
6
6
 
7
7
  group = 'host.exp.exponent'
8
- version = '57.0.23'
8
+ version = '57.0.24'
9
9
 
10
10
  android {
11
11
  namespace "expo.modules.notifications"
12
12
  defaultConfig {
13
13
  versionCode 21
14
- versionName '57.0.23'
14
+ versionName '57.0.24'
15
15
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16
16
  consumerProguardFiles 'proguard-rules.pro'
17
17
  }
@@ -36,13 +36,21 @@ object NotificationManager {
36
36
  }
37
37
  listeners.add(listener)
38
38
  if (pendingNotificationResponses.isNotEmpty()) {
39
+ var handled = false
39
40
  for (pendingResponse in pendingNotificationResponses) {
40
- listener.onNotificationResponseReceived(pendingResponse)
41
+ handled = listener.onNotificationResponseReceived(pendingResponse) || handled
42
+ }
43
+ if (handled) {
44
+ pendingNotificationResponses.clear()
41
45
  }
42
46
  }
43
47
  if (pendingNotificationResponsesFromExtras.isNotEmpty()) {
48
+ var handled = false
44
49
  for (extras in pendingNotificationResponsesFromExtras) {
45
- listener.onNotificationResponseIntentReceived(extras)
50
+ handled = listener.onNotificationResponseIntentReceived(extras) || handled
51
+ }
52
+ if (handled) {
53
+ pendingNotificationResponsesFromExtras.clear()
46
54
  }
47
55
  }
48
56
  }
@@ -72,11 +72,12 @@ open class NotificationsEmitter : Module(), NotificationListener {
72
72
  return true
73
73
  }
74
74
 
75
- override fun onNotificationResponseIntentReceived(extras: Bundle) {
75
+ override fun onNotificationResponseIntentReceived(extras: Bundle): Boolean {
76
76
  val bundle = NotificationSerializer.toResponseBundleFromExtras(extras)
77
77
  DebugLogging.logBundle("NotificationsEmitter.onNotificationResponseIntentReceived", bundle)
78
78
  lastNotificationResponseBundle = bundle
79
79
  sendEvent(NEW_RESPONSE_EVENT_NAME, lastNotificationResponseBundle)
80
+ return true
80
81
  }
81
82
 
82
83
  /**
@@ -18,8 +18,11 @@ interface NotificationListener {
18
18
  */
19
19
  fun onNotificationResponseReceived(response: NotificationResponse): Boolean = false
20
20
 
21
- /** Callback called when notification response is received through package lifecycle listeners. */
22
- fun onNotificationResponseIntentReceived(extras: Bundle) {}
21
+ /**
22
+ * Callback called when notification response is received through package lifecycle listeners.
23
+ * @return Whether the notification response has been handled
24
+ */
25
+ fun onNotificationResponseIntentReceived(extras: Bundle): Boolean = false
23
26
 
24
27
  /** Callback called when some notifications are dropped. */
25
28
  fun onNotificationsDropped() {}
@@ -35,7 +35,7 @@
35
35
  "publication": {
36
36
  "groupId": "host.exp.exponent",
37
37
  "artifactId": "expo.modules.notifications",
38
- "version": "57.0.23",
38
+ "version": "57.0.24",
39
39
  "repository": "local-maven-repo"
40
40
  }
41
41
  }
@@ -0,0 +1 @@
1
+ 8bef8f6783c27ec017bbd26ea19033cf467d6fc8b6e1422bb3766e27b120474b
@@ -0,0 +1 @@
1
+ 64e1e666817479950988fa2cbb67d02f2ffcb631b9e7382f1cbe4408ecc085fdb22ca4dc1460ab6826b4ff36f00b752e2a80e9a4c2604359c9f24123b717733a
@@ -0,0 +1 @@
1
+ 8c5e2d464ce2d4a6949fa4f9336c68c9b3a8858730d2859f8127be8cd2be5b37
@@ -0,0 +1 @@
1
+ 8600278a074cc0e49317fc1c2e29a58ee575af20c133a703e696bb7c74bcae5fb7c2b3a6ce3a99c99993d05b97f2778605ba0efe26c7df50365d164e9127cf7d
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.notifications",
6
- "version": "57.0.23",
6
+ "version": "57.0.24",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.notifications-57.0.23.aar",
28
- "url": "expo.modules.notifications-57.0.23.aar",
29
- "size": 425993,
30
- "sha512": "fbe3317e826721d3e5f36ec14b2d5f5e1479b9c16d24d61104e5be2e6d32105271acdfdaf0d539efe6f5fa9527a8e1d749bb996c19fed6c0d7eced774fc47bae",
31
- "sha256": "e6d92a1bc2481a0676636c715cd467c96d2ec2816ae0edec9fef02421f8febbe",
32
- "sha1": "26db06d6601663a4fee9379e60395cace4ae584a",
33
- "md5": "c3e89db8528a02ca6220109a67a8b311"
27
+ "name": "expo.modules.notifications-57.0.24.aar",
28
+ "url": "expo.modules.notifications-57.0.24.aar",
29
+ "size": 426108,
30
+ "sha512": "8600278a074cc0e49317fc1c2e29a58ee575af20c133a703e696bb7c74bcae5fb7c2b3a6ce3a99c99993d05b97f2778605ba0efe26c7df50365d164e9127cf7d",
31
+ "sha256": "8c5e2d464ce2d4a6949fa4f9336c68c9b3a8858730d2859f8127be8cd2be5b37",
32
+ "sha1": "a0079d75e4c4b04efbdd5361792192cd26cd41cb",
33
+ "md5": "a205cc82a887442adddc6d5a5259a95c"
34
34
  }
35
35
  ]
36
36
  },
@@ -136,13 +136,13 @@
136
136
  ],
137
137
  "files": [
138
138
  {
139
- "name": "expo.modules.notifications-57.0.23.aar",
140
- "url": "expo.modules.notifications-57.0.23.aar",
141
- "size": 425993,
142
- "sha512": "fbe3317e826721d3e5f36ec14b2d5f5e1479b9c16d24d61104e5be2e6d32105271acdfdaf0d539efe6f5fa9527a8e1d749bb996c19fed6c0d7eced774fc47bae",
143
- "sha256": "e6d92a1bc2481a0676636c715cd467c96d2ec2816ae0edec9fef02421f8febbe",
144
- "sha1": "26db06d6601663a4fee9379e60395cace4ae584a",
145
- "md5": "c3e89db8528a02ca6220109a67a8b311"
139
+ "name": "expo.modules.notifications-57.0.24.aar",
140
+ "url": "expo.modules.notifications-57.0.24.aar",
141
+ "size": 426108,
142
+ "sha512": "8600278a074cc0e49317fc1c2e29a58ee575af20c133a703e696bb7c74bcae5fb7c2b3a6ce3a99c99993d05b97f2778605ba0efe26c7df50365d164e9127cf7d",
143
+ "sha256": "8c5e2d464ce2d4a6949fa4f9336c68c9b3a8858730d2859f8127be8cd2be5b37",
144
+ "sha1": "a0079d75e4c4b04efbdd5361792192cd26cd41cb",
145
+ "md5": "a205cc82a887442adddc6d5a5259a95c"
146
146
  }
147
147
  ]
148
148
  },
@@ -156,13 +156,13 @@
156
156
  },
157
157
  "files": [
158
158
  {
159
- "name": "expo.modules.notifications-57.0.23-sources.jar",
160
- "url": "expo.modules.notifications-57.0.23-sources.jar",
161
- "size": 100296,
162
- "sha512": "577e9667d10356e13dbe0e068e9e2bb2471d2b3779e7dac73cfceb3da4229c57f94633d598ede255debd9810a4427f39272bc17e76c7b77b4d0a7fef35757f85",
163
- "sha256": "148252dd1787d13e6671cd522ac117da77b195820b40fad96f416fe9a14719a1",
164
- "sha1": "4632517459bdc5658100521934b4b1401a7a7e7d",
165
- "md5": "972f50f3f02e565a556a625e0f8663b0"
159
+ "name": "expo.modules.notifications-57.0.24-sources.jar",
160
+ "url": "expo.modules.notifications-57.0.24-sources.jar",
161
+ "size": 100345,
162
+ "sha512": "64e1e666817479950988fa2cbb67d02f2ffcb631b9e7382f1cbe4408ecc085fdb22ca4dc1460ab6826b4ff36f00b752e2a80e9a4c2604359c9f24123b717733a",
163
+ "sha256": "8bef8f6783c27ec017bbd26ea19033cf467d6fc8b6e1422bb3766e27b120474b",
164
+ "sha1": "3597a208ba41f2b96c8758d23a179bc298a894ea",
165
+ "md5": "1e127f78e414fa1e745f7a83bd906cb1"
166
166
  }
167
167
  ]
168
168
  }
@@ -0,0 +1 @@
1
+ 1ef22335d65ef48cdc1402d48cadaea97fb048021b9581d98b8d6764a7f5c127
@@ -0,0 +1 @@
1
+ c786ebee340f2eb866ac716d125cd7c3e80e59413b647272b25a9e5619c7fc0f1549ed7404fd913d8f110c246bcdcd89361928a5801ef210404ab537cc11e454
@@ -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>57.0.23</version>
12
+ <version>57.0.24</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
+ 69bf4a69b0936055127ec2ecf198bd9841a3988417466d21febe626f1bae2e21
@@ -0,0 +1 @@
1
+ 2e80c017cd06e2a1f7b48b0caf439272423cb4dd2cb39d12b27094a65e81d5ebf566c864317bfd0cb8ac566a82992480b4182726eaf36e58bccfb2d29e1a60f1
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.notifications</artifactId>
5
5
  <versioning>
6
- <latest>57.0.23</latest>
7
- <release>57.0.23</release>
6
+ <latest>57.0.24</latest>
7
+ <release>57.0.24</release>
8
8
  <versions>
9
- <version>57.0.23</version>
9
+ <version>57.0.24</version>
10
10
  </versions>
11
- <lastUpdated>20261014162606</lastUpdated>
11
+ <lastUpdated>20261022132921</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 0727d804e51192e8044b4e12c1ab4ea0
1
+ 63fe0629c4258b927d44c84afb2ecea0
@@ -1 +1 @@
1
- 5b03f1753e87a8d15f63b0fe18aafebed7bb7abf
1
+ af80c78d5a35681a71f0e3bbeb0350706f5ba0c5
@@ -1 +1 @@
1
- b9947236d1bc0f7ac7c23a60b9cf5dde1643d47a96e89acba5f7c54ef239a47c
1
+ 82c28f87ec04e4a5d048c04f8e486ef758c14806486e6b083ab2a0500b2949bd
@@ -1 +1 @@
1
- d25a143f9ba8eca68d12d1f34d98d9a06c195bef68c14a23ad11e991d26ef231d46e9ec2e3cd692c12e872a9946af0441ca04ba189e1fe28e1dae390422a2001
1
+ acef090751229393b15c70fbbaefca7976fa6b5ea618626ae484bd9bfd0b7478b735bf4f5e3ffc7188c07fe7e2126425346e2bf95284bca18b50b150d74f46d5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "57.0.23",
3
+ "version": "57.0.24",
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",
@@ -43,7 +43,7 @@
43
43
  "@types/node": "^22.14.0",
44
44
  "@types/react": "~19.2.0",
45
45
  "memfs": "^3.2.0",
46
- "expo": "57.0.29",
46
+ "expo": "57.0.31",
47
47
  "expo-module-scripts": "56.0.3"
48
48
  },
49
49
  "peerDependencies": {
@@ -51,7 +51,7 @@
51
51
  "react": "*",
52
52
  "react-native": "*"
53
53
  },
54
- "gitHead": "0607af7a70d0ea3e58a6d55824aac5cfd3e78613",
54
+ "gitHead": "b667d77588d2cdf13e6fb83572040dbc2bc8781e",
55
55
  "scripts": {
56
56
  "build": "expo-module build",
57
57
  "build:plugin": "expo-module build plugin",
@@ -1 +0,0 @@
1
- 148252dd1787d13e6671cd522ac117da77b195820b40fad96f416fe9a14719a1
@@ -1 +0,0 @@
1
- 577e9667d10356e13dbe0e068e9e2bb2471d2b3779e7dac73cfceb3da4229c57f94633d598ede255debd9810a4427f39272bc17e76c7b77b4d0a7fef35757f85
@@ -1 +0,0 @@
1
- e6d92a1bc2481a0676636c715cd467c96d2ec2816ae0edec9fef02421f8febbe
@@ -1 +0,0 @@
1
- fbe3317e826721d3e5f36ec14b2d5f5e1479b9c16d24d61104e5be2e6d32105271acdfdaf0d539efe6f5fa9527a8e1d749bb996c19fed6c0d7eced774fc47bae
@@ -1 +0,0 @@
1
- 74fd42cc860d87e6551df12921ec1b7adea57f06f349e8df11576e78e3b18249
@@ -1 +0,0 @@
1
- bdf3a8001cf729699140b161ff3b3324a5746eb310d465d73576beaddb3e043fb153e930b52eb04862fd920e144764c15c828ff24f411d1dcef17830c743090a
@@ -1 +0,0 @@
1
- e14ab4a54d901dc59c5af652948fd1dab8f81436a827bf21be97ce4a480221d3
@@ -1 +0,0 @@
1
- 066aaff23c18d14b97d5b8c2eadc8467b40bac92699a153dea51130a9498567cd16c58fd8aa455aa878d6760af2061f27e2af3f85cfd850b3679e1f83dab1e82