expo-notifications 0.32.2 → 0.32.3
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.
- package/CHANGELOG.md +6 -0
- package/android/build.gradle +2 -2
- package/expo-module.config.json +1 -1
- package/ios/EXNotifications/Badge/BadgeModule.swift +9 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.module → 0.32.3/expo.modules.notifications-0.32.3.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.pom → 0.32.3/expo.modules.notifications-0.32.3.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.3/expo.modules.notifications-0.32.3.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2-sources.jar → 0.32.3/expo.modules.notifications-0.32.3-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2-sources.jar.md5 → 0.32.3/expo.modules.notifications-0.32.3-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2-sources.jar.sha1 → 0.32.3/expo.modules.notifications-0.32.3-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2-sources.jar.sha256 → 0.32.3/expo.modules.notifications-0.32.3-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2-sources.jar.sha512 → 0.32.3/expo.modules.notifications-0.32.3-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.aar → 0.32.3/expo.modules.notifications-0.32.3.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.aar.md5 → 0.32.3/expo.modules.notifications-0.32.3.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.aar.sha1 → 0.32.3/expo.modules.notifications-0.32.3.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.aar.sha256 → 0.32.3/expo.modules.notifications-0.32.3.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.aar.sha512 → 0.32.3/expo.modules.notifications-0.32.3.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.32.3 — 2025-08-21
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [ios] fix `setBadgeCountAsync(0)` also cleared notifications ([#39009](https://github.com/expo/expo/pull/39009) by [@vonovak](https://github.com/vonovak))
|
|
18
|
+
|
|
13
19
|
## 0.32.2 — 2025-08-16
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -5,13 +5,13 @@ plugins {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
group = 'host.exp.exponent'
|
|
8
|
-
version = '0.32.
|
|
8
|
+
version = '0.32.3'
|
|
9
9
|
|
|
10
10
|
android {
|
|
11
11
|
namespace "expo.modules.notifications"
|
|
12
12
|
defaultConfig {
|
|
13
13
|
versionCode 21
|
|
14
|
-
versionName '0.32.
|
|
14
|
+
versionName '0.32.3'
|
|
15
15
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
16
16
|
}
|
|
17
17
|
|
package/expo-module.config.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import ExpoModulesCore
|
|
4
4
|
import UIKit
|
|
5
|
-
import MachO
|
|
6
5
|
|
|
7
6
|
public class BadgeModule: Module {
|
|
8
7
|
public func definition() -> ModuleDefinition {
|
|
@@ -14,11 +13,17 @@ public class BadgeModule: Module {
|
|
|
14
13
|
.runOnQueue(.main)
|
|
15
14
|
|
|
16
15
|
AsyncFunction("setBadgeCountAsync") { (badgeCount: Int) -> Bool in
|
|
17
|
-
let
|
|
16
|
+
let center = UNUserNotificationCenter.current()
|
|
17
|
+
|
|
18
|
+
let settings = await center.notificationSettings()
|
|
18
19
|
|
|
19
20
|
if settings.badgeSetting == .enabled {
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
if #available(iOS 16.0, *) {
|
|
22
|
+
try await center.setBadgeCount(badgeCount)
|
|
23
|
+
} else {
|
|
24
|
+
await MainActor.run {
|
|
25
|
+
EXSharedApplication().applicationIconBadgeNumber = badgeCount
|
|
26
|
+
}
|
|
22
27
|
}
|
|
23
28
|
return true
|
|
24
29
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.notifications",
|
|
6
|
-
"version": "0.32.
|
|
6
|
+
"version": "0.32.3",
|
|
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-0.32.
|
|
28
|
-
"url": "expo.modules.notifications-0.32.
|
|
27
|
+
"name": "expo.modules.notifications-0.32.3.aar",
|
|
28
|
+
"url": "expo.modules.notifications-0.32.3.aar",
|
|
29
29
|
"size": 384693,
|
|
30
30
|
"sha512": "f9cde8d4f0a7f5cbe218c7115445766eec980e044a90562cbbf524c51a5e1ac0a007bb426e95c2c6ecb30da2c5e94d963e948a84693a8c961a38f60ec8f8b8a4",
|
|
31
31
|
"sha256": "54d880284e4c05bb815de98bc48ff6206e5f6ed87e79308ad90196bd2a5d105c",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
],
|
|
123
123
|
"files": [
|
|
124
124
|
{
|
|
125
|
-
"name": "expo.modules.notifications-0.32.
|
|
126
|
-
"url": "expo.modules.notifications-0.32.
|
|
125
|
+
"name": "expo.modules.notifications-0.32.3.aar",
|
|
126
|
+
"url": "expo.modules.notifications-0.32.3.aar",
|
|
127
127
|
"size": 384693,
|
|
128
128
|
"sha512": "f9cde8d4f0a7f5cbe218c7115445766eec980e044a90562cbbf524c51a5e1ac0a007bb426e95c2c6ecb30da2c5e94d963e948a84693a8c961a38f60ec8f8b8a4",
|
|
129
129
|
"sha256": "54d880284e4c05bb815de98bc48ff6206e5f6ed87e79308ad90196bd2a5d105c",
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
},
|
|
143
143
|
"files": [
|
|
144
144
|
{
|
|
145
|
-
"name": "expo.modules.notifications-0.32.
|
|
146
|
-
"url": "expo.modules.notifications-0.32.
|
|
145
|
+
"name": "expo.modules.notifications-0.32.3-sources.jar",
|
|
146
|
+
"url": "expo.modules.notifications-0.32.3-sources.jar",
|
|
147
147
|
"size": 99407,
|
|
148
148
|
"sha512": "ad96d4d7ea7b0cecbdea1ce64b28e4dbf5267074af9d7d352bd9f866d67cc32310347a9e68712e8502b55a815890002007a154ca508c0451a61acee82865eb9e",
|
|
149
149
|
"sha256": "3d445a8ee9d150d620fafe8a452c8c74427a5d835ab1263cec7d4f0743ac8f3d",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ce6fa85abeaac18d5acc42c7cbdaaa22
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dbf9617fcdc43fbb5ebca7ac523480d68c49e683
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bcd413f14b047fc00537dcbd432f8dcdc39a53c340a4a0cd3a033a286d1e6d12
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a7a8b978833df6e9bbb6f8ae738b72497563ab0f86debf6bb8b2532d1901a8bfa49d15eaf5122121f4b159ef4f808daa460892931d922c31884526718277e7a3
|
|
@@ -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.
|
|
12
|
+
<version>0.32.3</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
|
+
32be3cee58bf8c368683156da3b7bb5a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f271713f7668076ada339dbd328940ab0b1f7579
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b8a643ce74a9535c127b7da41dc76550bc2d9aaaa95d37ed05e9ffaff3bc1034
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7be551bbfe7f3588ccb044ca3ce5b518fce58f6945cf1bf37f2c3a197899c53dcf4d2ce6d8f5cbb64b77a0afb013b640c94e6d8b04829ce8c0e12676aad3ea47
|
|
@@ -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.
|
|
7
|
-
<release>0.32.
|
|
6
|
+
<latest>0.32.3</latest>
|
|
7
|
+
<release>0.32.3</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>0.32.
|
|
9
|
+
<version>0.32.3</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20250821040950</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0093d0eea89e596fdf7e3012e71c44e1
|
package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
172f927940eb95186ab6cd8763bd8b3de61ef6ad
|
package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
46df32cb8e507840c9cc3dd9b613925db03bf91cc54ec1d8bc88fae917724ae5
|
package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6d10eb394d2d068d2caffd6f524af0dedde2641bef4f95f1358c4b14c5c84b239a54a45341f3c156cd6470102f79e7fbdd30e05bb020392aa2e20b4f0b347b23
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-notifications",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.3",
|
|
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",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"assert": "^2.0.0",
|
|
49
49
|
"badgin": "^1.1.5",
|
|
50
50
|
"expo-application": "~7.0.2",
|
|
51
|
-
"expo-constants": "~18.0.
|
|
51
|
+
"expo-constants": "~18.0.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"expo-module-scripts": "^5.0.2",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"react": "*",
|
|
60
60
|
"react-native": "*"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "3275774c9286477adba9bc226d3923a996217ee4"
|
|
63
63
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
61f40a8aef464b6bee8ad3e26640ca7a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4ad017721d6067218c9c7043333ff5ae4e2d8069
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
24f07de21b0c4cf28192e1c2ddb798ea50692cd8f626247724d72d31c2f0e4bf
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0eacb6fa3294d6fd1c71aee6a70e0ffb639f24dadf826189b07c15247b5bf557f9088bb43f88f8b0cae822a626efe92a1b0abbb67a6346900e9c075cc243ab6a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4b95733b0a7b26795e4a6c820d0cfa6c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a4d3cbf54ce9c25642dd3ba68aff6db45093f049
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a2e1fb7cde29cd4fed2f69fcb47cac28a18e8e90688bce987ed23c266a5dfde8
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8da0dda72e5d4d229a54e892b91c6ada9bf96b65770d046aebbc699ac9cde7cc8d69e8f3e72ff9f1c9296bc112e48e9f3a6bc2ee5eb890653590c19707d0f623
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|