expo-notifications 57.0.23 → 57.0.25

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 (57) hide show
  1. package/CHANGELOG.md +10 -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/build/TopicSubscriptionModule.android.d.ts +2 -2
  7. package/build/TopicSubscriptionModule.android.d.ts.map +1 -1
  8. package/build/TopicSubscriptionModule.android.js +3 -2
  9. package/build/TopicSubscriptionModule.android.js.map +1 -1
  10. package/build/topicSubscription.js +2 -2
  11. package/build/topicSubscription.js.map +1 -1
  12. package/expo-module.config.json +1 -1
  13. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.23/expo.modules.notifications-57.0.23-sources.jar → 57.0.25/expo.modules.notifications-57.0.25-sources.jar} +0 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25-sources.jar.md5 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25-sources.jar.sha1 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25-sources.jar.sha256 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25-sources.jar.sha512 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.aar +0 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.aar.md5 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.aar.sha1 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.aar.sha256 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.aar.sha512 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.23/expo.modules.notifications-57.0.23.module → 57.0.25/expo.modules.notifications-57.0.25.module} +22 -22
  24. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.md5 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.sha1 +1 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.sha256 +1 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.sha512 +1 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.23/expo.modules.notifications-57.0.23.pom → 57.0.25/expo.modules.notifications-57.0.25.pom} +1 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.md5 +1 -0
  30. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.sha1 +1 -0
  31. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.sha256 +1 -0
  32. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.sha512 +1 -0
  33. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml +4 -4
  34. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.md5 +1 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1 +1 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256 +1 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512 +1 -1
  38. package/package.json +6 -6
  39. package/src/TopicSubscriptionModule.android.ts +5 -2
  40. package/src/topicSubscription.ts +2 -2
  41. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.md5 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.sha1 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.sha256 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23-sources.jar.sha512 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar +0 -0
  46. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.md5 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.sha1 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.sha256 +0 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.aar.sha512 +0 -1
  50. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.md5 +0 -1
  51. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.sha1 +0 -1
  52. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.sha256 +0 -1
  53. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.module.sha512 +0 -1
  54. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.pom.md5 +0 -1
  55. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.pom.sha1 +0 -1
  56. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.23/expo.modules.notifications-57.0.23.pom.sha256 +0 -1
  57. 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,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 57.0.25 — 2026-11-05
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [Android] Fix importing `expo-notifications` throwing `Cannot find native module 'ExpoTopicSubscriptionModule'` in Expo Go. ([#52182](https://github.com/expo/expo/pull/52182) by [@fixfon](https://github.com/fixfon))
18
+
19
+ ## 57.0.24 — 2026-10-22
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 57.0.23 — 2026-10-14
14
24
 
15
25
  ### 🐛 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.25'
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.25'
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() {}
@@ -1,4 +1,4 @@
1
1
  import type { TopicSubscriptionModule } from './TopicSubscriptionModule.types';
2
- declare const _default: TopicSubscriptionModule;
3
- export default _default;
2
+ declare const topicSubscriptionModule: TopicSubscriptionModule;
3
+ export default topicSubscriptionModule;
4
4
  //# sourceMappingURL=TopicSubscriptionModule.android.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopicSubscriptionModule.android.d.ts","sourceRoot":"","sources":["../src/TopicSubscriptionModule.android.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;;AAE/E,wBAA2F"}
1
+ {"version":3,"file":"TopicSubscriptionModule.android.d.ts","sourceRoot":"","sources":["../src/TopicSubscriptionModule.android.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E,QAAA,MAAM,uBAAuB,EAAE,uBAC4D,CAAC;AAE5F,eAAe,uBAAuB,CAAC"}
@@ -1,3 +1,4 @@
1
- import { requireNativeModule } from 'expo-modules-core';
2
- export default requireNativeModule('ExpoTopicSubscriptionModule');
1
+ import { requireOptionalNativeModule } from 'expo-modules-core';
2
+ const topicSubscriptionModule = requireOptionalNativeModule('ExpoTopicSubscriptionModule') ?? {};
3
+ export default topicSubscriptionModule;
3
4
  //# sourceMappingURL=TopicSubscriptionModule.android.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopicSubscriptionModule.android.js","sourceRoot":"","sources":["../src/TopicSubscriptionModule.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIxD,eAAe,mBAAmB,CAA0B,6BAA6B,CAAC,CAAC","sourcesContent":["import { requireNativeModule } from 'expo-modules-core';\n\nimport type { TopicSubscriptionModule } from './TopicSubscriptionModule.types';\n\nexport default requireNativeModule<TopicSubscriptionModule>('ExpoTopicSubscriptionModule');\n"]}
1
+ {"version":3,"file":"TopicSubscriptionModule.android.js","sourceRoot":"","sources":["../src/TopicSubscriptionModule.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAIhE,MAAM,uBAAuB,GAC3B,2BAA2B,CAA0B,6BAA6B,CAAC,IAAI,EAAE,CAAC;AAE5F,eAAe,uBAAuB,CAAC","sourcesContent":["import { requireOptionalNativeModule } from 'expo-modules-core';\n\nimport type { TopicSubscriptionModule } from './TopicSubscriptionModule.types';\n\nconst topicSubscriptionModule: TopicSubscriptionModule =\n requireOptionalNativeModule<TopicSubscriptionModule>('ExpoTopicSubscriptionModule') ?? {};\n\nexport default topicSubscriptionModule;\n"]}
@@ -8,10 +8,10 @@ import { warnOfExpoGoPushUsage } from './warnOfExpoGoPushUsage';
8
8
  * @platform android
9
9
  */
10
10
  export async function subscribeToTopicAsync(topic) {
11
+ warnOfExpoGoPushUsage();
11
12
  if (!TopicSubscriptionModule.subscribeToTopicAsync) {
12
13
  throw new UnavailabilityError('ExpoNotifications', 'subscribeToTopicAsync');
13
14
  }
14
- warnOfExpoGoPushUsage();
15
15
  return TopicSubscriptionModule.subscribeToTopicAsync(topic);
16
16
  }
17
17
  /**
@@ -21,10 +21,10 @@ export async function subscribeToTopicAsync(topic) {
21
21
  * @platform android
22
22
  */
23
23
  export async function unsubscribeFromTopicAsync(topic) {
24
+ warnOfExpoGoPushUsage();
24
25
  if (!TopicSubscriptionModule.unsubscribeFromTopicAsync) {
25
26
  throw new UnavailabilityError('ExpoNotifications', 'unsubscribeFromTopicAsync');
26
27
  }
27
- warnOfExpoGoPushUsage();
28
28
  return TopicSubscriptionModule.unsubscribeFromTopicAsync(topic);
29
29
  }
30
30
  //# sourceMappingURL=topicSubscription.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"topicSubscription.js","sourceRoot":"","sources":["../src/topicSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,KAAa;IACvD,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,EAAE,CAAC;QACnD,MAAM,IAAI,mBAAmB,CAAC,mBAAmB,EAAE,uBAAuB,CAAC,CAAC;IAC9E,CAAC;IACD,qBAAqB,EAAE,CAAC;IAExB,OAAO,uBAAuB,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,KAAa;IAC3D,IAAI,CAAC,uBAAuB,CAAC,yBAAyB,EAAE,CAAC;QACvD,MAAM,IAAI,mBAAmB,CAAC,mBAAmB,EAAE,2BAA2B,CAAC,CAAC;IAClF,CAAC;IACD,qBAAqB,EAAE,CAAC;IAExB,OAAO,uBAAuB,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { UnavailabilityError } from 'expo-modules-core';\n\nimport TopicSubscriptionModule from './TopicSubscriptionModule';\nimport { warnOfExpoGoPushUsage } from './warnOfExpoGoPushUsage';\n\n/**\n * Subscribes the device to a push notification topic. This allows the device to receive notifications sent to that topic.\n * @param topic The topic name to subscribe to.\n * @return a Promise which resolves to `null` once the device is subscribed to the topic.\n * @platform android\n */\nexport async function subscribeToTopicAsync(topic: string): Promise<null> {\n if (!TopicSubscriptionModule.subscribeToTopicAsync) {\n throw new UnavailabilityError('ExpoNotifications', 'subscribeToTopicAsync');\n }\n warnOfExpoGoPushUsage();\n\n return TopicSubscriptionModule.subscribeToTopicAsync(topic);\n}\n\n/**\n * Unsubscribes the device from a push notification topic. The device will no longer receive notifications sent to that topic.\n * @param topic The topic name to unsubscribe from.\n * @return a Promise which resolves to `null` once the device is unsubscribed from the topic.\n * @platform android\n */\nexport async function unsubscribeFromTopicAsync(topic: string): Promise<null> {\n if (!TopicSubscriptionModule.unsubscribeFromTopicAsync) {\n throw new UnavailabilityError('ExpoNotifications', 'unsubscribeFromTopicAsync');\n }\n warnOfExpoGoPushUsage();\n\n return TopicSubscriptionModule.unsubscribeFromTopicAsync(topic);\n}\n"]}
1
+ {"version":3,"file":"topicSubscription.js","sourceRoot":"","sources":["../src/topicSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,KAAa;IACvD,qBAAqB,EAAE,CAAC;IACxB,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,EAAE,CAAC;QACnD,MAAM,IAAI,mBAAmB,CAAC,mBAAmB,EAAE,uBAAuB,CAAC,CAAC;IAC9E,CAAC;IAED,OAAO,uBAAuB,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,KAAa;IAC3D,qBAAqB,EAAE,CAAC;IACxB,IAAI,CAAC,uBAAuB,CAAC,yBAAyB,EAAE,CAAC;QACvD,MAAM,IAAI,mBAAmB,CAAC,mBAAmB,EAAE,2BAA2B,CAAC,CAAC;IAClF,CAAC;IAED,OAAO,uBAAuB,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { UnavailabilityError } from 'expo-modules-core';\n\nimport TopicSubscriptionModule from './TopicSubscriptionModule';\nimport { warnOfExpoGoPushUsage } from './warnOfExpoGoPushUsage';\n\n/**\n * Subscribes the device to a push notification topic. This allows the device to receive notifications sent to that topic.\n * @param topic The topic name to subscribe to.\n * @return a Promise which resolves to `null` once the device is subscribed to the topic.\n * @platform android\n */\nexport async function subscribeToTopicAsync(topic: string): Promise<null> {\n warnOfExpoGoPushUsage();\n if (!TopicSubscriptionModule.subscribeToTopicAsync) {\n throw new UnavailabilityError('ExpoNotifications', 'subscribeToTopicAsync');\n }\n\n return TopicSubscriptionModule.subscribeToTopicAsync(topic);\n}\n\n/**\n * Unsubscribes the device from a push notification topic. The device will no longer receive notifications sent to that topic.\n * @param topic The topic name to unsubscribe from.\n * @return a Promise which resolves to `null` once the device is unsubscribed from the topic.\n * @platform android\n */\nexport async function unsubscribeFromTopicAsync(topic: string): Promise<null> {\n warnOfExpoGoPushUsage();\n if (!TopicSubscriptionModule.unsubscribeFromTopicAsync) {\n throw new UnavailabilityError('ExpoNotifications', 'unsubscribeFromTopicAsync');\n }\n\n return TopicSubscriptionModule.unsubscribeFromTopicAsync(topic);\n}\n"]}
@@ -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.25",
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.25",
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.25.aar",
28
+ "url": "expo.modules.notifications-57.0.25.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.25.aar",
140
+ "url": "expo.modules.notifications-57.0.25.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.25-sources.jar",
160
+ "url": "expo.modules.notifications-57.0.25-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
+ 7f00b79c7deae6b789c889b6ef53db45b686d597a7a53e95a2a4ba4fdbe2c0df
@@ -0,0 +1 @@
1
+ 3d09cc9c4800c2c92b52251afbdebd1fe8a74721a92c32f2bc1ebfd4044764c3d2cfcffc27936a51eb18c9c0614efb468d049ffb7509be3b2c2363217ae02dd2
@@ -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.25</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
+ 6a74874936675aa9dd9e8ad1ad7119097a6d0b037511ec5d09370c4c05c89e8f
@@ -0,0 +1 @@
1
+ 3e22f3d120ede313665bceda625887bb7234b3517e5c20957138e5b05bac33685e7939ff5ce745907708ad8fc19a39c0e6d90a252a755bbf5a0f717d4c6503f7
@@ -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.25</latest>
7
+ <release>57.0.25</release>
8
8
  <versions>
9
- <version>57.0.23</version>
9
+ <version>57.0.25</version>
10
10
  </versions>
11
- <lastUpdated>20261014162606</lastUpdated>
11
+ <lastUpdated>20261105092532</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 0727d804e51192e8044b4e12c1ab4ea0
1
+ 169c89095808775d2e3ac238fd93c675
@@ -1 +1 @@
1
- 5b03f1753e87a8d15f63b0fe18aafebed7bb7abf
1
+ add9559705284eef69b82b4dbb5ed68cd0e533c4
@@ -1 +1 @@
1
- b9947236d1bc0f7ac7c23a60b9cf5dde1643d47a96e89acba5f7c54ef239a47c
1
+ f953fffb8fcb15dbe4c81535630cbabef26b2c0e97a312e6608d6443c7c8b0e7
@@ -1 +1 @@
1
- d25a143f9ba8eca68d12d1f34d98d9a06c195bef68c14a23ad11e991d26ef231d46e9ec2e3cd692c12e872a9946af0441ca04ba189e1fe28e1dae390422a2001
1
+ fdf12af2370a2f9b910633047ed69556410eef0677012baa530350929d198b0be5778d891203e42165565aa04f72c1af5db6f03bcf1c731c9b573e4bca3756d9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "57.0.23",
3
+ "version": "57.0.25",
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",
@@ -33,25 +33,25 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "@expo/image-utils": "^0.11.6",
36
+ "@expo/image-utils": "^0.11.7",
37
37
  "abort-controller": "^3.0.0",
38
38
  "badgin": "^1.1.5",
39
39
  "expo-application": "~57.0.3",
40
- "expo-constants": "~57.0.22"
40
+ "expo-constants": "~57.0.23"
41
41
  },
42
42
  "devDependencies": {
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",
47
- "expo-module-scripts": "56.0.3"
46
+ "expo-module-scripts": "56.0.3",
47
+ "expo": "57.0.32"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "expo": "*",
51
51
  "react": "*",
52
52
  "react-native": "*"
53
53
  },
54
- "gitHead": "0607af7a70d0ea3e58a6d55824aac5cfd3e78613",
54
+ "gitHead": "d525588681ae2ac2863deff25d35daa39ede8ac1",
55
55
  "scripts": {
56
56
  "build": "expo-module build",
57
57
  "build:plugin": "expo-module build plugin",
@@ -1,5 +1,8 @@
1
- import { requireNativeModule } from 'expo-modules-core';
1
+ import { requireOptionalNativeModule } from 'expo-modules-core';
2
2
 
3
3
  import type { TopicSubscriptionModule } from './TopicSubscriptionModule.types';
4
4
 
5
- export default requireNativeModule<TopicSubscriptionModule>('ExpoTopicSubscriptionModule');
5
+ const topicSubscriptionModule: TopicSubscriptionModule =
6
+ requireOptionalNativeModule<TopicSubscriptionModule>('ExpoTopicSubscriptionModule') ?? {};
7
+
8
+ export default topicSubscriptionModule;
@@ -10,10 +10,10 @@ import { warnOfExpoGoPushUsage } from './warnOfExpoGoPushUsage';
10
10
  * @platform android
11
11
  */
12
12
  export async function subscribeToTopicAsync(topic: string): Promise<null> {
13
+ warnOfExpoGoPushUsage();
13
14
  if (!TopicSubscriptionModule.subscribeToTopicAsync) {
14
15
  throw new UnavailabilityError('ExpoNotifications', 'subscribeToTopicAsync');
15
16
  }
16
- warnOfExpoGoPushUsage();
17
17
 
18
18
  return TopicSubscriptionModule.subscribeToTopicAsync(topic);
19
19
  }
@@ -25,10 +25,10 @@ export async function subscribeToTopicAsync(topic: string): Promise<null> {
25
25
  * @platform android
26
26
  */
27
27
  export async function unsubscribeFromTopicAsync(topic: string): Promise<null> {
28
+ warnOfExpoGoPushUsage();
28
29
  if (!TopicSubscriptionModule.unsubscribeFromTopicAsync) {
29
30
  throw new UnavailabilityError('ExpoNotifications', 'unsubscribeFromTopicAsync');
30
31
  }
31
- warnOfExpoGoPushUsage();
32
32
 
33
33
  return TopicSubscriptionModule.unsubscribeFromTopicAsync(topic);
34
34
  }
@@ -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