expo-notifications 58.1.8 → 58.1.10

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 (36) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/android/build.gradle +2 -2
  3. package/ios/ExpoNotifications/Permissions/ExpoNotificationsPermissionsRequester.swift +3 -0
  4. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8.aar → 58.1.10/expo.modules.notifications-58.1.10.aar} +0 -0
  5. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.aar.md5 +1 -0
  6. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.aar.sha1 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.aar.sha256 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.aar.sha512 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8.module → 58.1.10/expo.modules.notifications-58.1.10.module} +17 -17
  10. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.module.md5 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.module.sha1 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.module.sha256 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.module.sha512 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8.pom → 58.1.10/expo.modules.notifications-58.1.10.pom} +1 -1
  15. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.pom.md5 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.pom.sha1 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.pom.sha256 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.10/expo.modules.notifications-58.1.10.pom.sha512 +1 -0
  19. package/package.json +4 -4
  20. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.aar.md5 +0 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.aar.sha1 +0 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.aar.sha256 +0 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.aar.sha512 +0 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.module.md5 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.module.sha1 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.module.sha256 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.module.sha512 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.pom.md5 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.pom.sha1 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.pom.sha256 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.8/expo.modules.notifications-58.1.8.pom.sha512 +0 -1
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8-sources.jar → 58.1.10/expo.modules.notifications-58.1.10-sources.jar} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8-sources.jar.md5 → 58.1.10/expo.modules.notifications-58.1.10-sources.jar.md5} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8-sources.jar.sha1 → 58.1.10/expo.modules.notifications-58.1.10-sources.jar.sha1} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8-sources.jar.sha256 → 58.1.10/expo.modules.notifications-58.1.10-sources.jar.sha256} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.8/expo.modules.notifications-58.1.8-sources.jar.sha512 → 58.1.10/expo.modules.notifications-58.1.10-sources.jar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 58.1.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [iOS] `requestPermissionsAsync` now resolves with the denied status, instead of rejecting with `ERR_PERMISSIONS_REQUEST_NOTIFICATIONS`, when the user denies the prompt in an iOS app on an Apple Silicon Mac ("Designed for iPad"). ([#52828](https://github.com/expo/expo/pull/52828) by [@LizunovSergey](https://github.com/LizunovSergey))
8
+
9
+ ## 58.1.9
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies. ([#52932](https://github.com/expo/expo/pull/52932))
14
+ - @expo/image-utils@0.12.7
15
+ - expo-constants@58.0.16
16
+
3
17
  ## 58.1.8
4
18
 
5
19
  ### Patch Changes
@@ -5,13 +5,13 @@ plugins {
5
5
  }
6
6
 
7
7
  group = 'host.exp.exponent'
8
- version = '58.1.8'
8
+ version = '58.1.10'
9
9
 
10
10
  android {
11
11
  namespace "expo.modules.notifications"
12
12
  defaultConfig {
13
13
  versionCode 21
14
- versionName '58.1.8'
14
+ versionName '58.1.10'
15
15
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16
16
  consumerProguardFiles 'proguard-rules.pro'
17
17
  }
@@ -74,6 +74,9 @@ public class ExpoNotificationsPermissionsRequester: NSObject, EXPermissionsReque
74
74
  do {
75
75
  _ = try await UNUserNotificationCenter.current().requestAuthorization(options: options)
76
76
  resolve(await getPermissionsAsync())
77
+ } catch let error as UNError where error.code == .notificationsNotAllowed {
78
+ // An iOS app on a Mac throws this when the user denies; on iOS the same denial returns `false`.
79
+ resolve(await getPermissionsAsync())
77
80
  } catch {
78
81
  reject("ERR_PERMISSIONS_REQUEST_NOTIFICATIONS", error.localizedDescription, error)
79
82
  }
@@ -0,0 +1 @@
1
+ 5c787a6489b0d5695806d1b4a85c7cd248c4ec9bb235c8b2a6694d281f226add
@@ -0,0 +1 @@
1
+ ad363ee76360f29679ed23673583d86a1668695c0d012c24d9d71264dd9410939f7583969f0df489e4802d7519721f4dda1e834861ec055ea17f78396788bc5d
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.notifications",
6
- "version": "58.1.8",
6
+ "version": "58.1.10",
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-58.1.8.aar",
28
- "url": "expo.modules.notifications-58.1.8.aar",
29
- "size": 481435,
30
- "sha512": "b5224719bbd3bb613586850867982514351da721d874571711d4634c446b74b77b04077e8fd32c653b130d808f13d3c6a5c494dc97a3fb97d5c6b1d251489b60",
31
- "sha256": "2dab24bb8e54803e7d5b8d3a68e946f3a447ae3705b490b86cdeccf57f298f14",
32
- "sha1": "9700069108a49bbc2a6084f8f99d535885a23463",
33
- "md5": "a7cfaed92cf19a88a51f52e9013cf28f"
27
+ "name": "expo.modules.notifications-58.1.10.aar",
28
+ "url": "expo.modules.notifications-58.1.10.aar",
29
+ "size": 481432,
30
+ "sha512": "ad363ee76360f29679ed23673583d86a1668695c0d012c24d9d71264dd9410939f7583969f0df489e4802d7519721f4dda1e834861ec055ea17f78396788bc5d",
31
+ "sha256": "5c787a6489b0d5695806d1b4a85c7cd248c4ec9bb235c8b2a6694d281f226add",
32
+ "sha1": "b3b72c60deff942f64b8cd9533a2ad6d875a060b",
33
+ "md5": "39b33b509ba8838c7c03fdea68057cdb"
34
34
  }
35
35
  ]
36
36
  },
@@ -136,13 +136,13 @@
136
136
  ],
137
137
  "files": [
138
138
  {
139
- "name": "expo.modules.notifications-58.1.8.aar",
140
- "url": "expo.modules.notifications-58.1.8.aar",
141
- "size": 481435,
142
- "sha512": "b5224719bbd3bb613586850867982514351da721d874571711d4634c446b74b77b04077e8fd32c653b130d808f13d3c6a5c494dc97a3fb97d5c6b1d251489b60",
143
- "sha256": "2dab24bb8e54803e7d5b8d3a68e946f3a447ae3705b490b86cdeccf57f298f14",
144
- "sha1": "9700069108a49bbc2a6084f8f99d535885a23463",
145
- "md5": "a7cfaed92cf19a88a51f52e9013cf28f"
139
+ "name": "expo.modules.notifications-58.1.10.aar",
140
+ "url": "expo.modules.notifications-58.1.10.aar",
141
+ "size": 481432,
142
+ "sha512": "ad363ee76360f29679ed23673583d86a1668695c0d012c24d9d71264dd9410939f7583969f0df489e4802d7519721f4dda1e834861ec055ea17f78396788bc5d",
143
+ "sha256": "5c787a6489b0d5695806d1b4a85c7cd248c4ec9bb235c8b2a6694d281f226add",
144
+ "sha1": "b3b72c60deff942f64b8cd9533a2ad6d875a060b",
145
+ "md5": "39b33b509ba8838c7c03fdea68057cdb"
146
146
  }
147
147
  ]
148
148
  },
@@ -156,8 +156,8 @@
156
156
  },
157
157
  "files": [
158
158
  {
159
- "name": "expo.modules.notifications-58.1.8-sources.jar",
160
- "url": "expo.modules.notifications-58.1.8-sources.jar",
159
+ "name": "expo.modules.notifications-58.1.10-sources.jar",
160
+ "url": "expo.modules.notifications-58.1.10-sources.jar",
161
161
  "size": 105042,
162
162
  "sha512": "6b587630be109055e8343c3ff3f2a25d9e4e05600a8aef9ad2ceb614e25ede3519df39f84b41c5574019e16c3bf5e2befa2beb5013cc03e223a68d89685c94ba",
163
163
  "sha256": "0f67a033cbd0dc77f4044952900ad04de04b9b68dd5562d303e4528103369481",
@@ -0,0 +1 @@
1
+ c45c4a0563d129f89887ab794728afbd836cf206e860cf04952e52d519f9df37
@@ -0,0 +1 @@
1
+ 8f287f2e4b4b6c2e4c186352e7d26f3c21214890aeb8bbaa2c93526cba6c39ad68860f4381cbe173539a944c2f01f136da5e9feea498ea688bba6900736af7fb
@@ -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>58.1.8</version>
12
+ <version>58.1.10</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
+ 05e768f71adf765ec34ee606adfd8f61dea0ef379a27b70e022346ff517d9171
@@ -0,0 +1 @@
1
+ 758ccf54246abeaebf42b49b9a374d3c0fb843a9e4453df3e1dad2d7d78f864e06e35c597f92906952f1e3fe9cab690c66c968c377eb9c8c1fd107845f17dda0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-notifications",
3
- "version": "58.1.8",
3
+ "version": "58.1.10",
4
4
  "description": "Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.",
5
5
  "keywords": [
6
6
  "expo",
@@ -26,18 +26,18 @@
26
26
  "main": "build/index.js",
27
27
  "types": "build/index.d.ts",
28
28
  "dependencies": {
29
- "@expo/image-utils": "^0.12.6",
29
+ "@expo/image-utils": "^0.12.7",
30
30
  "abort-controller": "^3.0.0",
31
31
  "badgin": "^1.1.5",
32
32
  "expo-application": "~58.1.2",
33
- "expo-constants": "~58.0.15"
33
+ "expo-constants": "~58.0.16"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@expo/internal-scripts": "58.0.6",
37
37
  "@types/jest": "^30.0.0",
38
38
  "@types/node": "^22.14.0",
39
39
  "@types/react": "~19.3.0",
40
- "expo": "58.0.23",
40
+ "expo": "58.1.0",
41
41
  "memfs": "^3.6.0"
42
42
  },
43
43
  "peerDependencies": {
@@ -1 +0,0 @@
1
- 2dab24bb8e54803e7d5b8d3a68e946f3a447ae3705b490b86cdeccf57f298f14
@@ -1 +0,0 @@
1
- b5224719bbd3bb613586850867982514351da721d874571711d4634c446b74b77b04077e8fd32c653b130d808f13d3c6a5c494dc97a3fb97d5c6b1d251489b60
@@ -1 +0,0 @@
1
- b320a007ad221653c805de66361a3fae0a8f090f33e6a9b92f8b2c5c17ea638a
@@ -1 +0,0 @@
1
- 6b25e885ac598f67198f55d67c0634fe5715d88f24b56a5338de74f2eceb2801995aa652c82643f69149abc9b408cf6ed1d06630a4e07b011d2b8a01de47f256
@@ -1 +0,0 @@
1
- 350f892fdda00cc2b9595581c0626bd07518d3129ed7542aec5e1e40485e69be
@@ -1 +0,0 @@
1
- 568f1765a31cb2e416e074af7bdabe4a909e6897f9b8dcc13e2218be32209ba9cab329120e9333334e45dfd9062de59b7cbed12a0a270cf3894dbe08a0fe5a0f