expo-notifications 58.1.5 → 58.1.7
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 +16 -0
- package/android/build.gradle +2 -2
- package/build/TopicSubscriptionModule.android.d.ts +2 -2
- package/build/TopicSubscriptionModule.android.js +3 -2
- package/build/TopicSubscriptionModule.android.js.map +1 -1
- package/build/topicSubscription.js +2 -2
- package/build/topicSubscription.js.map +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5.module → 58.1.7/expo.modules.notifications-58.1.7.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5.pom → 58.1.7/expo.modules.notifications-58.1.7.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.7/expo.modules.notifications-58.1.7.pom.sha512 +1 -0
- package/package.json +5 -5
- package/src/TopicSubscriptionModule.android.ts +5 -2
- package/src/topicSubscription.ts +2 -2
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.notifications/58.1.5/expo.modules.notifications-58.1.5.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5-sources.jar → 58.1.7/expo.modules.notifications-58.1.7-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5-sources.jar.md5 → 58.1.7/expo.modules.notifications-58.1.7-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5-sources.jar.sha1 → 58.1.7/expo.modules.notifications-58.1.7-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5-sources.jar.sha256 → 58.1.7/expo.modules.notifications-58.1.7-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5-sources.jar.sha512 → 58.1.7/expo.modules.notifications-58.1.7-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5.aar → 58.1.7/expo.modules.notifications-58.1.7.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5.aar.md5 → 58.1.7/expo.modules.notifications-58.1.7.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5.aar.sha1 → 58.1.7/expo.modules.notifications-58.1.7.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5.aar.sha256 → 58.1.7/expo.modules.notifications-58.1.7.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{58.1.5/expo.modules.notifications-58.1.5.aar.sha512 → 58.1.7/expo.modules.notifications-58.1.7.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 58.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [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))
|
|
8
|
+
- Updated dependencies.
|
|
9
|
+
- expo-constants@58.0.14
|
|
10
|
+
- @expo/image-utils@0.12.6
|
|
11
|
+
|
|
12
|
+
## 58.1.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies.
|
|
17
|
+
- expo-constants@58.0.13
|
|
18
|
+
|
|
3
19
|
## 58.1.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/android/build.gradle
CHANGED
|
@@ -5,13 +5,13 @@ plugins {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
group = 'host.exp.exponent'
|
|
8
|
-
version = '58.1.
|
|
8
|
+
version = '58.1.7'
|
|
9
9
|
|
|
10
10
|
android {
|
|
11
11
|
namespace "expo.modules.notifications"
|
|
12
12
|
defaultConfig {
|
|
13
13
|
versionCode 21
|
|
14
|
-
versionName '58.1.
|
|
14
|
+
versionName '58.1.7'
|
|
15
15
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
16
16
|
consumerProguardFiles 'proguard-rules.pro'
|
|
17
17
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TopicSubscriptionModule } from './TopicSubscriptionModule.types';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const topicSubscriptionModule: TopicSubscriptionModule;
|
|
3
|
+
export default topicSubscriptionModule;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { requireOptionalNativeModule } from 'expo';
|
|
2
|
+
const topicSubscriptionModule = requireOptionalNativeModule('ExpoTopicSubscriptionModule') ?? {};
|
|
3
|
+
export default topicSubscriptionModule;
|
|
3
4
|
|
|
4
5
|
//# sourceMappingURL=TopicSubscriptionModule.android.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["TopicSubscriptionModule.android.ts"],"sourcesContent":[null],"names":["
|
|
1
|
+
{"version":3,"sources":["TopicSubscriptionModule.android.ts"],"sourcesContent":[null],"names":["requireOptionalNativeModule","topicSubscriptionModule"],"mappings":"AAAA,SAASA,2BAA2B,QAAQ,OAAO;AAInD,MAAMC,0BACJD,4BAAqD,kCAAkC,CAAC;AAE1F,eAAeC,wBAAwB"}
|
|
@@ -7,10 +7,10 @@ import { warnOfExpoGoPushUsage } from './warnOfExpoGoPushUsage';
|
|
|
7
7
|
* @return a Promise which resolves to `null` once the device is subscribed to the topic.
|
|
8
8
|
* @platform android
|
|
9
9
|
*/ export async function subscribeToTopicAsync(topic) {
|
|
10
|
+
warnOfExpoGoPushUsage();
|
|
10
11
|
if (!TopicSubscriptionModule.subscribeToTopicAsync) {
|
|
11
12
|
throw new UnavailabilityError('ExpoNotifications', 'subscribeToTopicAsync');
|
|
12
13
|
}
|
|
13
|
-
warnOfExpoGoPushUsage();
|
|
14
14
|
return TopicSubscriptionModule.subscribeToTopicAsync(topic);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
@@ -19,10 +19,10 @@ import { warnOfExpoGoPushUsage } from './warnOfExpoGoPushUsage';
|
|
|
19
19
|
* @return a Promise which resolves to `null` once the device is unsubscribed from the topic.
|
|
20
20
|
* @platform android
|
|
21
21
|
*/ export async function unsubscribeFromTopicAsync(topic) {
|
|
22
|
+
warnOfExpoGoPushUsage();
|
|
22
23
|
if (!TopicSubscriptionModule.unsubscribeFromTopicAsync) {
|
|
23
24
|
throw new UnavailabilityError('ExpoNotifications', 'unsubscribeFromTopicAsync');
|
|
24
25
|
}
|
|
25
|
-
warnOfExpoGoPushUsage();
|
|
26
26
|
return TopicSubscriptionModule.unsubscribeFromTopicAsync(topic);
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["topicSubscription.ts"],"sourcesContent":[null],"names":["UnavailabilityError","TopicSubscriptionModule","warnOfExpoGoPushUsage","subscribeToTopicAsync","topic","unsubscribeFromTopicAsync"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,OAAO;AAE3C,OAAOC,6BAA6B,4BAA4B;AAChE,SAASC,qBAAqB,QAAQ,0BAA0B;AAEhE;;;;;CAKC,GACD,OAAO,eAAeC,sBAAsBC,KAAa;
|
|
1
|
+
{"version":3,"sources":["topicSubscription.ts"],"sourcesContent":[null],"names":["UnavailabilityError","TopicSubscriptionModule","warnOfExpoGoPushUsage","subscribeToTopicAsync","topic","unsubscribeFromTopicAsync"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,OAAO;AAE3C,OAAOC,6BAA6B,4BAA4B;AAChE,SAASC,qBAAqB,QAAQ,0BAA0B;AAEhE;;;;;CAKC,GACD,OAAO,eAAeC,sBAAsBC,KAAa;IACvDF;IACA,IAAI,CAACD,wBAAwBE,qBAAqB,EAAE;QAClD,MAAM,IAAIH,oBAAoB,qBAAqB;IACrD;IAEA,OAAOC,wBAAwBE,qBAAqB,CAACC;AACvD;AAEA;;;;;CAKC,GACD,OAAO,eAAeC,0BAA0BD,KAAa;IAC3DF;IACA,IAAI,CAACD,wBAAwBI,yBAAyB,EAAE;QACtD,MAAM,IAAIL,oBAAoB,qBAAqB;IACrD;IAEA,OAAOC,wBAAwBI,yBAAyB,CAACD;AAC3D"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.notifications",
|
|
6
|
-
"version": "58.1.
|
|
6
|
+
"version": "58.1.7",
|
|
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-58.1.
|
|
28
|
-
"url": "expo.modules.notifications-58.1.
|
|
27
|
+
"name": "expo.modules.notifications-58.1.7.aar",
|
|
28
|
+
"url": "expo.modules.notifications-58.1.7.aar",
|
|
29
29
|
"size": 481435,
|
|
30
30
|
"sha512": "b5224719bbd3bb613586850867982514351da721d874571711d4634c446b74b77b04077e8fd32c653b130d808f13d3c6a5c494dc97a3fb97d5c6b1d251489b60",
|
|
31
31
|
"sha256": "2dab24bb8e54803e7d5b8d3a68e946f3a447ae3705b490b86cdeccf57f298f14",
|
|
@@ -136,8 +136,8 @@
|
|
|
136
136
|
],
|
|
137
137
|
"files": [
|
|
138
138
|
{
|
|
139
|
-
"name": "expo.modules.notifications-58.1.
|
|
140
|
-
"url": "expo.modules.notifications-58.1.
|
|
139
|
+
"name": "expo.modules.notifications-58.1.7.aar",
|
|
140
|
+
"url": "expo.modules.notifications-58.1.7.aar",
|
|
141
141
|
"size": 481435,
|
|
142
142
|
"sha512": "b5224719bbd3bb613586850867982514351da721d874571711d4634c446b74b77b04077e8fd32c653b130d808f13d3c6a5c494dc97a3fb97d5c6b1d251489b60",
|
|
143
143
|
"sha256": "2dab24bb8e54803e7d5b8d3a68e946f3a447ae3705b490b86cdeccf57f298f14",
|
|
@@ -156,8 +156,8 @@
|
|
|
156
156
|
},
|
|
157
157
|
"files": [
|
|
158
158
|
{
|
|
159
|
-
"name": "expo.modules.notifications-58.1.
|
|
160
|
-
"url": "expo.modules.notifications-58.1.
|
|
159
|
+
"name": "expo.modules.notifications-58.1.7-sources.jar",
|
|
160
|
+
"url": "expo.modules.notifications-58.1.7-sources.jar",
|
|
161
161
|
"size": 105042,
|
|
162
162
|
"sha512": "6b587630be109055e8343c3ff3f2a25d9e4e05600a8aef9ad2ceb614e25ede3519df39f84b41c5574019e16c3bf5e2befa2beb5013cc03e223a68d89685c94ba",
|
|
163
163
|
"sha256": "0f67a033cbd0dc77f4044952900ad04de04b9b68dd5562d303e4528103369481",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
447bc96ba00046c22da52f909a97b61c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0cc3e84c4c8fe419a46ad8e281a68d31fbfded0a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
33f3ad5f026465a4404d6a132ea708329dce5bfa00929d1a4779ea27662129f2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3723ce48fedeccd1d4b589b535146daded1a02afcfc1120a459c8f88c7c98317c4afc977d8d3f1f4afa1ddbac96895218d9f257b4ae7ad547a9cf4772c5584bf
|
|
@@ -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.
|
|
12
|
+
<version>58.1.7</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
|
+
f7ef04daf0a094dee6c62e6d6f543896
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
357a9785918ddd8050f2115827ca20084cbac60a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9321b68c1009d50b89ea7686a21079657b298b3cd6ff702c108ab171be624060
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
23ae13aac7612d329dbf9dd61961f29d5a7ca4aa6d4a588666907e96d367d9a0331180e3ba5c129fb4679559cc5ca2687c0afbd4a4bb27d90e7b54dec489fe97
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-notifications",
|
|
3
|
-
"version": "58.1.
|
|
3
|
+
"version": "58.1.7",
|
|
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.
|
|
29
|
+
"@expo/image-utils": "^0.12.6",
|
|
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.
|
|
33
|
+
"expo-constants": "~58.0.14"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@expo/internal-scripts": "58.0.
|
|
36
|
+
"@expo/internal-scripts": "58.0.5",
|
|
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.
|
|
40
|
+
"expo": "58.0.21",
|
|
41
41
|
"memfs": "^3.6.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { requireOptionalNativeModule } from 'expo';
|
|
2
2
|
|
|
3
3
|
import type { TopicSubscriptionModule } from './TopicSubscriptionModule.types';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const topicSubscriptionModule: TopicSubscriptionModule =
|
|
6
|
+
requireOptionalNativeModule<TopicSubscriptionModule>('ExpoTopicSubscriptionModule') ?? {};
|
|
7
|
+
|
|
8
|
+
export default topicSubscriptionModule;
|
package/src/topicSubscription.ts
CHANGED
|
@@ -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
|
-
c4e780b75c5f9a373c981f52028fb618
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a52aed84d7663b6d5f2719328b1673c7f9e579c3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
19371f1818136cd83af58e17b8ee43eb3b9b3a7a6f3e087eba704b1ff2b44707
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8aa7bedd5874fc56ce7d2cfed36328502c968ea5065c0472ca4d9692b0b68e32828a0646ca146a21a3dc22c759801b2b162766879864f27e0ef0dba99f08bd6b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e5ebfbd2a05b116ea3c72d0d06dd857b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
377106807e83257fee1e3be563cf0bc83b42f579
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c079bd349ce3f80a9c045ba17f7f2d70673f8373bdf1c78f04f4bf1f40e71791
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9263a1bcf081f8d8365e58122a5e75c020bcda115740aa2893d0b463f8b77ffe3203d3d3ebe5153e0e1a93c390d1273a1d0e82aa698b27870eb32c2db7d528a0
|
|
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
|