expo-notifications 0.27.2 → 0.27.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
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.27.3 — 2024-01-10
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [Android] Fix `expo-notifications` requiring the `expo-task-manager` module to start. ([#26227](https://github.com/expo/expo/pull/26227) by [@behenate](https://github.com/behenate))
|
|
18
|
+
|
|
13
19
|
## 0.27.2 — 2023-12-19
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '0.27.
|
|
6
|
+
version = '0.27.3'
|
|
7
7
|
|
|
8
8
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
9
9
|
if (expoModulesCorePlugin.exists()) {
|
|
@@ -94,7 +94,7 @@ android {
|
|
|
94
94
|
namespace "expo.modules.notifications"
|
|
95
95
|
defaultConfig {
|
|
96
96
|
versionCode 21
|
|
97
|
-
versionName '0.27.
|
|
97
|
+
versionName '0.27.3'
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
buildFeatures {
|
|
@@ -6,14 +6,13 @@ import expo.modules.kotlin.modules.ModuleDefinition
|
|
|
6
6
|
import expo.modules.notifications.ModuleNotFoundException
|
|
7
7
|
|
|
8
8
|
class ExpoBackgroundNotificationTasksModule : Module() {
|
|
9
|
-
private
|
|
9
|
+
private val taskManager: TaskManagerInterface by lazy {
|
|
10
|
+
return@lazy appContext.legacyModule()
|
|
11
|
+
?: throw ModuleNotFoundException(TaskManagerInterface::class)
|
|
12
|
+
}
|
|
10
13
|
|
|
11
14
|
override fun definition() = ModuleDefinition {
|
|
12
15
|
Name("ExpoBackgroundNotificationTasksModule")
|
|
13
|
-
OnCreate {
|
|
14
|
-
taskManager = appContext.legacyModule()
|
|
15
|
-
?: throw ModuleNotFoundException(TaskManagerInterface::class)
|
|
16
|
-
}
|
|
17
16
|
|
|
18
17
|
AsyncFunction("registerTaskAsync") { taskName: String ->
|
|
19
18
|
taskManager.registerTask(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-notifications",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.3",
|
|
4
4
|
"description": "Notifications module",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"expo": "*"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "ca014bf2516c7644ef303f4c21fdd68de4d99f76"
|
|
59
59
|
}
|