expo-notifications 0.32.5 → 0.32.6

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 (43) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/android/build.gradle +2 -2
  3. package/expo-module.config.json +1 -1
  4. package/ios/EXNotifications/PushToken/PushTokenModule.swift +8 -5
  5. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.aar +0 -0
  6. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.aar.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.aar.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.aar.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.aar.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.5/expo.modules.notifications-0.32.5.module → 0.32.6/expo.modules.notifications-0.32.6.module} +17 -17
  11. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.module.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.module.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.module.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.module.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.5/expo.modules.notifications-0.32.5.pom → 0.32.6/expo.modules.notifications-0.32.6.pom} +1 -1
  16. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.pom.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.pom.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.pom.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.6/expo.modules.notifications-0.32.6.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/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.aar +0 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.aar.md5 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.aar.sha1 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.aar.sha256 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.aar.sha512 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.md5 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.sha1 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.sha256 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.module.sha512 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.md5 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.sha1 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.sha256 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.5/expo.modules.notifications-0.32.5.pom.sha512 +0 -1
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.5/expo.modules.notifications-0.32.5-sources.jar → 0.32.6/expo.modules.notifications-0.32.6-sources.jar} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.5/expo.modules.notifications-0.32.5-sources.jar.md5 → 0.32.6/expo.modules.notifications-0.32.6-sources.jar.md5} +0 -0
  41. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.5/expo.modules.notifications-0.32.5-sources.jar.sha1 → 0.32.6/expo.modules.notifications-0.32.6-sources.jar.sha1} +0 -0
  42. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.5/expo.modules.notifications-0.32.5-sources.jar.sha256 → 0.32.6/expo.modules.notifications-0.32.6-sources.jar.sha256} +0 -0
  43. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.5/expo.modules.notifications-0.32.5-sources.jar.sha512 → 0.32.6/expo.modules.notifications-0.32.6-sources.jar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.32.6 — 2025-08-27
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - refactor ExpoPushTokenManager promise handling ([#39179](https://github.com/expo/expo/pull/39179) by [@vonovak](https://github.com/vonovak))
18
+
13
19
  ## 0.32.5 — 2025-08-25
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 = '0.32.5'
8
+ version = '0.32.6'
9
9
 
10
10
  android {
11
11
  namespace "expo.modules.notifications"
12
12
  defaultConfig {
13
13
  versionCode 21
14
- versionName '0.32.5'
14
+ versionName '0.32.6'
15
15
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16
16
  }
17
17
 
@@ -33,7 +33,7 @@
33
33
  "publication": {
34
34
  "groupId": "host.exp.exponent",
35
35
  "artifactId": "expo.modules.notifications",
36
- "version": "0.32.5",
36
+ "version": "0.32.6",
37
37
  "repository": "local-maven-repo"
38
38
  }
39
39
  }
@@ -14,18 +14,21 @@ public class PushTokenModule: Module, NotificationDelegate {
14
14
 
15
15
  Events([onDevicePushTokenEventName])
16
16
 
17
- OnStartObserving(onDevicePushTokenEventName) {
17
+ OnCreate {
18
18
  NotificationCenterManager.shared.addDelegate(self)
19
19
  }
20
20
 
21
- OnStopObserving(onDevicePushTokenEventName) {
21
+ OnDestroy {
22
22
  NotificationCenterManager.shared.removeDelegate(self)
23
23
  }
24
24
 
25
25
  AsyncFunction("getDevicePushTokenAsync") { (promise: Promise) in
26
- if promiseNotYetResolved != nil {
27
- promise.reject("E_AWAIT_PROMISE", "Another async call to getDevicePushTokenAsync() is in progress. Await the first Promise.")
28
- return
26
+ if let existingPromise = promiseNotYetResolved {
27
+ let message = """
28
+ A newer async call to getDevicePushTokenAsync() was started.
29
+ To obtain the push token, await the result of the newer call.
30
+ """
31
+ existingPromise.reject("E_PROMISE_REPLACED", message)
29
32
  }
30
33
  promiseNotYetResolved = promise
31
34
  UIApplication.shared.registerForRemoteNotifications()
@@ -0,0 +1 @@
1
+ 0d544b3d64a8b76b73628432a2f9ac345404f2e76b8e46f2d1cd08ac6f29e849
@@ -0,0 +1 @@
1
+ 35bfb08451c4e643d3e6b51125cd29b3775cb0ce8b16612600d124a77b558310b2a572c8fe885ffc1f3ece6513fbf35b29825f202d9c711a434900e41d9e656e
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.notifications",
6
- "version": "0.32.5",
6
+ "version": "0.32.6",
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-0.32.5.aar",
28
- "url": "expo.modules.notifications-0.32.5.aar",
29
- "size": 384677,
30
- "sha512": "f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf",
31
- "sha256": "b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424",
32
- "sha1": "fed2241b3f05c2e72607a32f2793e3dd631736a9",
33
- "md5": "1252c82f7f859f61092bdbbb475bc756"
27
+ "name": "expo.modules.notifications-0.32.6.aar",
28
+ "url": "expo.modules.notifications-0.32.6.aar",
29
+ "size": 384708,
30
+ "sha512": "35bfb08451c4e643d3e6b51125cd29b3775cb0ce8b16612600d124a77b558310b2a572c8fe885ffc1f3ece6513fbf35b29825f202d9c711a434900e41d9e656e",
31
+ "sha256": "0d544b3d64a8b76b73628432a2f9ac345404f2e76b8e46f2d1cd08ac6f29e849",
32
+ "sha1": "1fb245c975cd7abba71842e70f6f959b5fdb6945",
33
+ "md5": "69ac2a7e72e3c0fe8f6c14f8eb740ec4"
34
34
  }
35
35
  ]
36
36
  },
@@ -122,13 +122,13 @@
122
122
  ],
123
123
  "files": [
124
124
  {
125
- "name": "expo.modules.notifications-0.32.5.aar",
126
- "url": "expo.modules.notifications-0.32.5.aar",
127
- "size": 384677,
128
- "sha512": "f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf",
129
- "sha256": "b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424",
130
- "sha1": "fed2241b3f05c2e72607a32f2793e3dd631736a9",
131
- "md5": "1252c82f7f859f61092bdbbb475bc756"
125
+ "name": "expo.modules.notifications-0.32.6.aar",
126
+ "url": "expo.modules.notifications-0.32.6.aar",
127
+ "size": 384708,
128
+ "sha512": "35bfb08451c4e643d3e6b51125cd29b3775cb0ce8b16612600d124a77b558310b2a572c8fe885ffc1f3ece6513fbf35b29825f202d9c711a434900e41d9e656e",
129
+ "sha256": "0d544b3d64a8b76b73628432a2f9ac345404f2e76b8e46f2d1cd08ac6f29e849",
130
+ "sha1": "1fb245c975cd7abba71842e70f6f959b5fdb6945",
131
+ "md5": "69ac2a7e72e3c0fe8f6c14f8eb740ec4"
132
132
  }
133
133
  ]
134
134
  },
@@ -142,8 +142,8 @@
142
142
  },
143
143
  "files": [
144
144
  {
145
- "name": "expo.modules.notifications-0.32.5-sources.jar",
146
- "url": "expo.modules.notifications-0.32.5-sources.jar",
145
+ "name": "expo.modules.notifications-0.32.6-sources.jar",
146
+ "url": "expo.modules.notifications-0.32.6-sources.jar",
147
147
  "size": 99047,
148
148
  "sha512": "ebfea857d5cdd1f40f7566dbecb448ba86454cfe5c4825a923723fffdd24f8163bf7966bb1b78c1fd06dd42898be6144b84d84014f41d8c5e2f6fa2911ba40d0",
149
149
  "sha256": "1382898e690552eb0d0d2ef86fd6104efc559790bb1118ffcb7da37037637eb6",
@@ -0,0 +1 @@
1
+ 16298464edba972a40adde13bb31a62d5ec1e1d283b841fe0d08765fd300c966
@@ -0,0 +1 @@
1
+ 2c0f1eaa9542d78d16b77d31bd5f33a2d0b9837e58206a07012d9ff965100ad362e6ff33d3476a2dbc8f6f4e1b88787154b7cfa078cc75690ba4c9f65f0f798a
@@ -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.5</version>
12
+ <version>0.32.6</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
+ 9ac46590d50ec5693a9169cf9013925dc5a0a85fb18db7a227b06a3d8f21f191
@@ -0,0 +1 @@
1
+ 92cb7b53966aa8f2d982746bbef62c33ed0590d8da7300e7908bdecd33ed5722a4990a4d5b3a86893717c73bcb07dffbd12ee1630d765b954e73227095a493aa
@@ -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.5</latest>
7
- <release>0.32.5</release>
6
+ <latest>0.32.6</latest>
7
+ <release>0.32.6</release>
8
8
  <versions>
9
- <version>0.32.5</version>
9
+ <version>0.32.6</version>
10
10
  </versions>
11
- <lastUpdated>20250825161907</lastUpdated>
11
+ <lastUpdated>20250827210802</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 838632c0883a89c57c45d70ef3bbfba6
1
+ ac21c8ff6de288260f178ba0b3e453d9
@@ -1 +1 @@
1
- 6e215bda2e34c7379b3832c590da8a0532065f3c
1
+ 245a110e319a88d6d56fecbfba59945c998522f8
@@ -1 +1 @@
1
- bc15a9d4f5b1d300df4790417a7f26823287ddf3ccb86fdb6a0ec7ce95c739c7
1
+ 2c9542dbdd6e66fabb6c72453f431a7a45b1fb9135556a910c532a8542162a9b
@@ -1 +1 @@
1
- 50636e77826f5214150363fc2444ea73676b250d00b2688db4b0d690ddda9b2d7983cc3d23679d894d2487ab30d3e25a71b2cc14d02c071f9580aee51e904d56
1
+ 93fde26adce55bdee85b4b38a52f1351900fa9f94b48e67aaad87a15b552d0d296975e6027190f5d17e13057c7a73a3eecee8af46a0e2329962cededbcd824e0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "0.32.5",
3
+ "version": "0.32.6",
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,16 +42,16 @@
42
42
  ]
43
43
  },
44
44
  "dependencies": {
45
- "@expo/image-utils": "^0.8.3",
45
+ "@expo/image-utils": "^0.8.4",
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.3",
51
- "expo-constants": "~18.0.4"
50
+ "expo-application": "~7.0.4",
51
+ "expo-constants": "~18.0.5"
52
52
  },
53
53
  "devDependencies": {
54
- "expo-module-scripts": "^5.0.3",
54
+ "expo-module-scripts": "^5.0.4",
55
55
  "memfs": "^3.2.0"
56
56
  },
57
57
  "peerDependencies": {
@@ -59,5 +59,5 @@
59
59
  "react": "*",
60
60
  "react-native": "*"
61
61
  },
62
- "gitHead": "ef0b9ecf9645d3e93587d5ee5030dbfcbf735bbd"
62
+ "gitHead": "48faa7b9a9f93a7660cb80aa118c7f6bf0aeff38"
63
63
  }
@@ -1 +0,0 @@
1
- b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424
@@ -1 +0,0 @@
1
- f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf
@@ -1 +0,0 @@
1
- 6b26a9cf342b9b6d478f7fb695cda90fb936ce450f7fc5a2e35ada14b89cc3be
@@ -1 +0,0 @@
1
- 8bd1ada24e820a0beef9922a5b9fc8a7384b0d935e4d86d310ca00c24451b9f9e33068646634f5a334ccc8d2db06d0ff10e907d4728712e28b5e0655dc666041
@@ -1 +0,0 @@
1
- d044590a30d3f1e32a162b1b03e1c19a6bec0f4c25de0f8101bb1d7b27c520ae
@@ -1 +0,0 @@
1
- cb5392e8f8c0193c82e7cd7bf30bd16b35bb148eb5c7b8c9f4102f6dd6eee22341c633795a1e33e87387bdad93e8729a7df9985684498e7ec7e4469dc78553f7