expo-notifications 57.0.24 → 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 (45) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/android/build.gradle +2 -2
  3. package/build/TopicSubscriptionModule.android.d.ts +2 -2
  4. package/build/TopicSubscriptionModule.android.d.ts.map +1 -1
  5. package/build/TopicSubscriptionModule.android.js +3 -2
  6. package/build/TopicSubscriptionModule.android.js.map +1 -1
  7. package/build/topicSubscription.js +2 -2
  8. package/build/topicSubscription.js.map +1 -1
  9. package/expo-module.config.json +1 -1
  10. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24.module → 57.0.25/expo.modules.notifications-57.0.25.module} +7 -7
  11. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.module.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24.pom → 57.0.25/expo.modules.notifications-57.0.25.pom} +1 -1
  16. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.25/expo.modules.notifications-57.0.25.pom.sha512 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml +4 -4
  21. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.md5 +1 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1 +1 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256 +1 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512 +1 -1
  25. package/package.json +6 -6
  26. package/src/TopicSubscriptionModule.android.ts +5 -2
  27. package/src/topicSubscription.ts +2 -2
  28. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.md5 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.sha1 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.sha256 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.module.sha512 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.md5 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.sha1 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.sha256 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/57.0.24/expo.modules.notifications-57.0.24.pom.sha512 +0 -1
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24-sources.jar → 57.0.25/expo.modules.notifications-57.0.25-sources.jar} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24-sources.jar.md5 → 57.0.25/expo.modules.notifications-57.0.25-sources.jar.md5} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24-sources.jar.sha1 → 57.0.25/expo.modules.notifications-57.0.25-sources.jar.sha1} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24-sources.jar.sha256 → 57.0.25/expo.modules.notifications-57.0.25-sources.jar.sha256} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24-sources.jar.sha512 → 57.0.25/expo.modules.notifications-57.0.25-sources.jar.sha512} +0 -0
  41. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24.aar → 57.0.25/expo.modules.notifications-57.0.25.aar} +0 -0
  42. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24.aar.md5 → 57.0.25/expo.modules.notifications-57.0.25.aar.md5} +0 -0
  43. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24.aar.sha1 → 57.0.25/expo.modules.notifications-57.0.25.aar.sha1} +0 -0
  44. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24.aar.sha256 → 57.0.25/expo.modules.notifications-57.0.25.aar.sha256} +0 -0
  45. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{57.0.24/expo.modules.notifications-57.0.24.aar.sha512 → 57.0.25/expo.modules.notifications-57.0.25.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
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
+
13
19
  ## 57.0.24 — 2026-10-22
14
20
 
15
21
  _This version does not introduce any user-facing changes._
@@ -5,13 +5,13 @@ plugins {
5
5
  }
6
6
 
7
7
  group = 'host.exp.exponent'
8
- version = '57.0.24'
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.24'
14
+ versionName '57.0.25'
15
15
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16
16
  consumerProguardFiles 'proguard-rules.pro'
17
17
  }
@@ -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.24",
38
+ "version": "57.0.25",
39
39
  "repository": "local-maven-repo"
40
40
  }
41
41
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.notifications",
6
- "version": "57.0.24",
6
+ "version": "57.0.25",
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-57.0.24.aar",
28
- "url": "expo.modules.notifications-57.0.24.aar",
27
+ "name": "expo.modules.notifications-57.0.25.aar",
28
+ "url": "expo.modules.notifications-57.0.25.aar",
29
29
  "size": 426108,
30
30
  "sha512": "8600278a074cc0e49317fc1c2e29a58ee575af20c133a703e696bb7c74bcae5fb7c2b3a6ce3a99c99993d05b97f2778605ba0efe26c7df50365d164e9127cf7d",
31
31
  "sha256": "8c5e2d464ce2d4a6949fa4f9336c68c9b3a8858730d2859f8127be8cd2be5b37",
@@ -136,8 +136,8 @@
136
136
  ],
137
137
  "files": [
138
138
  {
139
- "name": "expo.modules.notifications-57.0.24.aar",
140
- "url": "expo.modules.notifications-57.0.24.aar",
139
+ "name": "expo.modules.notifications-57.0.25.aar",
140
+ "url": "expo.modules.notifications-57.0.25.aar",
141
141
  "size": 426108,
142
142
  "sha512": "8600278a074cc0e49317fc1c2e29a58ee575af20c133a703e696bb7c74bcae5fb7c2b3a6ce3a99c99993d05b97f2778605ba0efe26c7df50365d164e9127cf7d",
143
143
  "sha256": "8c5e2d464ce2d4a6949fa4f9336c68c9b3a8858730d2859f8127be8cd2be5b37",
@@ -156,8 +156,8 @@
156
156
  },
157
157
  "files": [
158
158
  {
159
- "name": "expo.modules.notifications-57.0.24-sources.jar",
160
- "url": "expo.modules.notifications-57.0.24-sources.jar",
159
+ "name": "expo.modules.notifications-57.0.25-sources.jar",
160
+ "url": "expo.modules.notifications-57.0.25-sources.jar",
161
161
  "size": 100345,
162
162
  "sha512": "64e1e666817479950988fa2cbb67d02f2ffcb631b9e7382f1cbe4408ecc085fdb22ca4dc1460ab6826b4ff36f00b752e2a80e9a4c2604359c9f24123b717733a",
163
163
  "sha256": "8bef8f6783c27ec017bbd26ea19033cf467d6fc8b6e1422bb3766e27b120474b",
@@ -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.24</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.24</latest>
7
- <release>57.0.24</release>
6
+ <latest>57.0.25</latest>
7
+ <release>57.0.25</release>
8
8
  <versions>
9
- <version>57.0.24</version>
9
+ <version>57.0.25</version>
10
10
  </versions>
11
- <lastUpdated>20261022132921</lastUpdated>
11
+ <lastUpdated>20261105092532</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 63fe0629c4258b927d44c84afb2ecea0
1
+ 169c89095808775d2e3ac238fd93c675
@@ -1 +1 @@
1
- af80c78d5a35681a71f0e3bbeb0350706f5ba0c5
1
+ add9559705284eef69b82b4dbb5ed68cd0e533c4
@@ -1 +1 @@
1
- 82c28f87ec04e4a5d048c04f8e486ef758c14806486e6b083ab2a0500b2949bd
1
+ f953fffb8fcb15dbe4c81535630cbabef26b2c0e97a312e6608d6443c7c8b0e7
@@ -1 +1 @@
1
- acef090751229393b15c70fbbaefca7976fa6b5ea618626ae484bd9bfd0b7478b735bf4f5e3ffc7188c07fe7e2126425346e2bf95284bca18b50b150d74f46d5
1
+ fdf12af2370a2f9b910633047ed69556410eef0677012baa530350929d198b0be5778d891203e42165565aa04f72c1af5db6f03bcf1c731c9b573e4bca3756d9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "57.0.24",
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.31",
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": "b667d77588d2cdf13e6fb83572040dbc2bc8781e",
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
- 1ef22335d65ef48cdc1402d48cadaea97fb048021b9581d98b8d6764a7f5c127
@@ -1 +0,0 @@
1
- c786ebee340f2eb866ac716d125cd7c3e80e59413b647272b25a9e5619c7fc0f1549ed7404fd913d8f110c246bcdcd89361928a5801ef210404ab537cc11e454
@@ -1 +0,0 @@
1
- 69bf4a69b0936055127ec2ecf198bd9841a3988417466d21febe626f1bae2e21
@@ -1 +0,0 @@
1
- 2e80c017cd06e2a1f7b48b0caf439272423cb4dd2cb39d12b27094a65e81d5ebf566c864317bfd0cb8ac566a82992480b4182726eaf36e58bccfb2d29e1a60f1