expo-notifications 0.32.2 → 0.32.4
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 +12 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/notifications/notifications/NotificationManager.java +1 -3
- package/android/src/main/java/expo/modules/notifications/notifications/emitting/NotificationsEmitter.kt +1 -1
- package/android/src/main/java/expo/modules/notifications/notifications/handling/NotificationsHandler.kt +9 -1
- package/android/src/main/java/expo/modules/notifications/notifications/model/RemoteNotificationContent.kt +2 -0
- 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-sources.jar → 0.32.4/expo.modules.notifications-0.32.4-sources.jar} +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4-sources.jar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4-sources.jar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4-sources.jar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4-sources.jar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.32.2/expo.modules.notifications-0.32.2.module → 0.32.4/expo.modules.notifications-0.32.4.module} +22 -22
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.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.4/expo.modules.notifications-0.32.4.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.4/expo.modules.notifications-0.32.4.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 +4 -4
- package/android/src/main/java/expo/modules/notifications/notifications/interfaces/NotificationManager.java +0 -22
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2-sources.jar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2-sources.jar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2-sources.jar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2-sources.jar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.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 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.32.2/expo.modules.notifications-0.32.2.aar.sha512 +0 -1
- 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/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.32.4 — 2025-08-21
|
|
14
|
+
|
|
15
|
+
### 🛠 Breaking changes
|
|
16
|
+
|
|
17
|
+
- [android] make data-only notifications consistent with iOS ([#39025](https://github.com/expo/expo/pull/39025) by [@vonovak](https://github.com/vonovak))
|
|
18
|
+
|
|
19
|
+
## 0.32.3 — 2025-08-21
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- [ios] fix `setBadgeCountAsync(0)` also cleared notifications ([#39009](https://github.com/expo/expo/pull/39009) by [@vonovak](https://github.com/vonovak))
|
|
24
|
+
|
|
13
25
|
## 0.32.2 — 2025-08-16
|
|
14
26
|
|
|
15
27
|
_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.4'
|
|
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.4'
|
|
15
15
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
16
16
|
}
|
|
17
17
|
|
package/android/src/main/java/expo/modules/notifications/notifications/NotificationManager.java
CHANGED
|
@@ -16,7 +16,7 @@ import expo.modules.notifications.notifications.model.Notification;
|
|
|
16
16
|
import expo.modules.notifications.notifications.model.NotificationResponse;
|
|
17
17
|
import expo.modules.notifications.service.delegates.ExpoHandlingDelegate;
|
|
18
18
|
|
|
19
|
-
public class NotificationManager implements SingletonModule
|
|
19
|
+
public class NotificationManager implements SingletonModule {
|
|
20
20
|
private static final String SINGLETON_NAME = "NotificationManager";
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -50,7 +50,6 @@ public class NotificationManager implements SingletonModule, expo.modules.notifi
|
|
|
50
50
|
*
|
|
51
51
|
* @param listener Listener to be notified of new messages.
|
|
52
52
|
*/
|
|
53
|
-
@Override
|
|
54
53
|
public void addListener(NotificationListener listener) {
|
|
55
54
|
// Check if the listener is already registered
|
|
56
55
|
if (!mListenerReferenceMap.containsKey(listener)) {
|
|
@@ -75,7 +74,6 @@ public class NotificationManager implements SingletonModule, expo.modules.notifi
|
|
|
75
74
|
*
|
|
76
75
|
* @param listener Listener previously registered with {@link NotificationManager#addListener(NotificationListener)}.
|
|
77
76
|
*/
|
|
78
|
-
@Override
|
|
79
77
|
public void removeListener(NotificationListener listener) {
|
|
80
78
|
mListenerReferenceMap.remove(listener);
|
|
81
79
|
}
|
|
@@ -3,10 +3,10 @@ package expo.modules.notifications.notifications.emitting
|
|
|
3
3
|
import android.os.Bundle
|
|
4
4
|
import expo.modules.kotlin.modules.Module
|
|
5
5
|
import expo.modules.kotlin.modules.ModuleDefinition
|
|
6
|
+
import expo.modules.notifications.notifications.NotificationManager
|
|
6
7
|
import expo.modules.notifications.notifications.NotificationSerializer
|
|
7
8
|
import expo.modules.notifications.notifications.debug.DebugLogging
|
|
8
9
|
import expo.modules.notifications.notifications.interfaces.NotificationListener
|
|
9
|
-
import expo.modules.notifications.notifications.interfaces.NotificationManager
|
|
10
10
|
import expo.modules.notifications.notifications.model.Notification
|
|
11
11
|
import expo.modules.notifications.notifications.model.NotificationResponse
|
|
12
12
|
|
|
@@ -7,10 +7,11 @@ import expo.modules.kotlin.Promise
|
|
|
7
7
|
import expo.modules.kotlin.modules.Module
|
|
8
8
|
import expo.modules.kotlin.modules.ModuleDefinition
|
|
9
9
|
import expo.modules.notifications.NotificationWasAlreadyHandledException
|
|
10
|
+
import expo.modules.notifications.notifications.NotificationManager
|
|
10
11
|
import expo.modules.notifications.notifications.interfaces.NotificationListener
|
|
11
|
-
import expo.modules.notifications.notifications.interfaces.NotificationManager
|
|
12
12
|
import expo.modules.notifications.notifications.model.Notification
|
|
13
13
|
import expo.modules.notifications.notifications.model.NotificationBehaviorRecord
|
|
14
|
+
import expo.modules.notifications.notifications.model.RemoteNotificationContent
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* [NotificationListener] responsible for managing app's reaction to incoming
|
|
@@ -100,6 +101,13 @@ open class NotificationsHandler : Module(), NotificationListener {
|
|
|
100
101
|
*/
|
|
101
102
|
override fun onNotificationReceived(notification: Notification) {
|
|
102
103
|
val context = appContext.reactContext ?: return
|
|
104
|
+
val content = notification.notificationRequest.content
|
|
105
|
+
if (content is RemoteNotificationContent && content.isDataOnly) {
|
|
106
|
+
// We do not notify JS about data-only notifications, for consistency with iOS.
|
|
107
|
+
// onDidReceiveNotification is triggered
|
|
108
|
+
// and JS task will run if set up
|
|
109
|
+
return
|
|
110
|
+
}
|
|
103
111
|
val task = SingleNotificationHandlerTask(
|
|
104
112
|
context,
|
|
105
113
|
appContext.eventEmitter(this),
|
|
@@ -63,6 +63,8 @@ class RemoteNotificationContent(private val remoteMessage: RemoteMessage) : INot
|
|
|
63
63
|
// They are not supported by FCM but were previously implemented by JSONNotificationContentBuilder.java.
|
|
64
64
|
override val isAutoDismiss = notificationData.autoDismiss
|
|
65
65
|
|
|
66
|
+
val isDataOnly = remoteMessage.notification == null
|
|
67
|
+
|
|
66
68
|
override val categoryId = notificationData.categoryId
|
|
67
69
|
|
|
68
70
|
override val isSticky = notificationData.isSticky
|
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
|
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c91e6c3cbb4b4e2519d1b51b8b281e43
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e1b3d0c53984c692e45e14629cf15e290872cd57
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1382898e690552eb0d0d2ef86fd6104efc559790bb1118ffcb7da37037637eb6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ebfea857d5cdd1f40f7566dbecb448ba86454cfe5c4825a923723fffdd24f8163bf7966bb1b78c1fd06dd42898be6144b84d84014f41d8c5e2f6fa2911ba40d0
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1252c82f7f859f61092bdbbb475bc756
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fed2241b3f05c2e72607a32f2793e3dd631736a9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf
|
|
@@ -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.4",
|
|
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.
|
|
28
|
-
"url": "expo.modules.notifications-0.32.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.notifications-0.32.4.aar",
|
|
28
|
+
"url": "expo.modules.notifications-0.32.4.aar",
|
|
29
|
+
"size": 384677,
|
|
30
|
+
"sha512": "f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf",
|
|
31
|
+
"sha256": "b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424",
|
|
32
|
+
"sha1": "fed2241b3f05c2e72607a32f2793e3dd631736a9",
|
|
33
|
+
"md5": "1252c82f7f859f61092bdbbb475bc756"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
],
|
|
123
123
|
"files": [
|
|
124
124
|
{
|
|
125
|
-
"name": "expo.modules.notifications-0.32.
|
|
126
|
-
"url": "expo.modules.notifications-0.32.
|
|
127
|
-
"size":
|
|
128
|
-
"sha512": "
|
|
129
|
-
"sha256": "
|
|
130
|
-
"sha1": "
|
|
131
|
-
"md5": "
|
|
125
|
+
"name": "expo.modules.notifications-0.32.4.aar",
|
|
126
|
+
"url": "expo.modules.notifications-0.32.4.aar",
|
|
127
|
+
"size": 384677,
|
|
128
|
+
"sha512": "f91ff2db0f51a78c37e68359cb370a01a0fa85000842e28bc36e84b254ea042ed357c227770d8b6d59acc091257d8b79c6f3e9de9ffc67ef09870992c6304dbf",
|
|
129
|
+
"sha256": "b7dadf4d1afefef0621a0da69db02674ecf9afbbeb2353900f35563102e58424",
|
|
130
|
+
"sha1": "fed2241b3f05c2e72607a32f2793e3dd631736a9",
|
|
131
|
+
"md5": "1252c82f7f859f61092bdbbb475bc756"
|
|
132
132
|
}
|
|
133
133
|
]
|
|
134
134
|
},
|
|
@@ -142,13 +142,13 @@
|
|
|
142
142
|
},
|
|
143
143
|
"files": [
|
|
144
144
|
{
|
|
145
|
-
"name": "expo.modules.notifications-0.32.
|
|
146
|
-
"url": "expo.modules.notifications-0.32.
|
|
147
|
-
"size":
|
|
148
|
-
"sha512": "
|
|
149
|
-
"sha256": "
|
|
150
|
-
"sha1": "
|
|
151
|
-
"md5": "
|
|
145
|
+
"name": "expo.modules.notifications-0.32.4-sources.jar",
|
|
146
|
+
"url": "expo.modules.notifications-0.32.4-sources.jar",
|
|
147
|
+
"size": 99047,
|
|
148
|
+
"sha512": "ebfea857d5cdd1f40f7566dbecb448ba86454cfe5c4825a923723fffdd24f8163bf7966bb1b78c1fd06dd42898be6144b84d84014f41d8c5e2f6fa2911ba40d0",
|
|
149
|
+
"sha256": "1382898e690552eb0d0d2ef86fd6104efc559790bb1118ffcb7da37037637eb6",
|
|
150
|
+
"sha1": "e1b3d0c53984c692e45e14629cf15e290872cd57",
|
|
151
|
+
"md5": "c91e6c3cbb4b4e2519d1b51b8b281e43"
|
|
152
152
|
}
|
|
153
153
|
]
|
|
154
154
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e201c71e66921eb574956c15e6aa0594
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b62e0949658448c60d8126d02538a652ddb75b4c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
853e739e653fbbf1bbd24a7ee2869676d6e9a03b85a1e06a80caf82b39f1552b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
177bd283f3cb9501c40404ace59d65eb0f43e603a3d2d058b4b86130ccffc448dea4ece025423a9d9522850d6349bb00253959127cc6b6848fca289c873e6742
|
|
@@ -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.4</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
|
+
203303bcb93bee98c1f2125689383f8e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
917a9dc4c77fbebe08547a9a340658e3bbd5afb6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cb4c1a23ec23da521cef9e47d073b9f76353b62177b5f6094534adbc8795202e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6ef81160183d9b69ab1a4bdda51286da20f3e51991cdce15e51f2c793c86384afe4859418c3f874e7859c6a0c94408711cf6dd3e067a5d404be70d7dce0051da
|
|
@@ -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.4</latest>
|
|
7
|
+
<release>0.32.4</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>0.32.
|
|
9
|
+
<version>0.32.4</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20250821234728</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
|
+
a4ee6926358869167edb40eb6831aed3
|
package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
85f9fd1934a6215ca0be79fb91da2c4d2e638106
|
package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e3a0c7cc35c3440a7dba7c12296f619fe5cd00ce2cf55cc8ebaf1f7c03c9d920
|
package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
fb30b257991c2a34f01df1da1e005fb1887858a5e5b73298f8564bae10df05856b8a98ac986db6345f4fa6546c9b4446f38596dfd6d68b3327f433c84c734db2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-notifications",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.4",
|
|
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,10 +48,10 @@
|
|
|
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
|
-
"expo-module-scripts": "^5.0.
|
|
54
|
+
"expo-module-scripts": "^5.0.3",
|
|
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": "
|
|
62
|
+
"gitHead": "f2270a4447fa0939e0d6f95c92bf5238e7162a73"
|
|
63
63
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
package expo.modules.notifications.notifications.interfaces;
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Interface of a singleton module responsible
|
|
5
|
-
* for dispatching new remote message events to {@link NotificationListener}s.
|
|
6
|
-
*/
|
|
7
|
-
public interface NotificationManager {
|
|
8
|
-
/**
|
|
9
|
-
* Registers a {@link NotificationListener}.
|
|
10
|
-
*
|
|
11
|
-
* @param listener Listener to be notified of new message events.
|
|
12
|
-
*/
|
|
13
|
-
void addListener(NotificationListener listener);
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Unregisters a {@link NotificationListener}.
|
|
17
|
-
*
|
|
18
|
-
* @param listener Listener previously registered
|
|
19
|
-
* with {@link NotificationManager#addListener(NotificationListener)}.
|
|
20
|
-
*/
|
|
21
|
-
void removeListener(NotificationListener listener);
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
aa0446afdc9c4a1fc05d65f48e6cc53b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0e7782673df063a4fb10df6a346945f0367e43ba
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3d445a8ee9d150d620fafe8a452c8c74427a5d835ab1263cec7d4f0743ac8f3d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ad96d4d7ea7b0cecbdea1ce64b28e4dbf5267074af9d7d352bd9f866d67cc32310347a9e68712e8502b55a815890002007a154ca508c0451a61acee82865eb9e
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4446303bba265ad7d48f69d66dd25947
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cedda8ff3be79e8e4d52a36b32d843266b4ebb1b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
54d880284e4c05bb815de98bc48ff6206e5f6ed87e79308ad90196bd2a5d105c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f9cde8d4f0a7f5cbe218c7115445766eec980e044a90562cbbf524c51a5e1ac0a007bb426e95c2c6ecb30da2c5e94d963e948a84693a8c961a38f60ec8f8b8a4
|
|
@@ -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
|