expo-task-manager 11.7.0 → 11.7.1

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
+ ## 11.7.1 — 2024-01-25
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - On `Android`, added events to module definition to clear warnings. ([#26654](https://github.com/expo/expo/pull/26654) by [@alanjhughes](https://github.com/alanjhughes))
18
+
13
19
  ## 11.7.0 — 2023-11-14
14
20
 
15
21
  ### 🛠 Breaking changes
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '11.7.0'
6
+ version = '11.7.1'
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.taskManager"
95
95
  defaultConfig {
96
96
  versionCode 23
97
- versionName "11.7.0"
97
+ versionName "11.7.1"
98
98
  }
99
99
  }
100
100
 
@@ -23,12 +23,14 @@ class TaskManagerModule : Module() {
23
23
  override fun definition() = ModuleDefinition {
24
24
  Name("ExpoTaskManager")
25
25
 
26
+ Events(TaskManagerInterface.EVENT_NAME)
27
+
26
28
  Constants(
27
29
  "EVENT_NAME" to TaskManagerInterface.EVENT_NAME
28
30
  )
29
31
 
30
32
  AsyncFunction("isAvailableAsync") {
31
- taskService != null
33
+ return@AsyncFunction true
32
34
  }
33
35
 
34
36
  AsyncFunction("notifyTaskFinishedAsync") { taskName: String, response: Map<String, Any?> ->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-task-manager",
3
- "version": "11.7.0",
3
+ "version": "11.7.1",
4
4
  "description": "Expo module that provides support for tasks that can run in the background.",
5
5
  "main": "build/TaskManager.js",
6
6
  "types": "build/TaskManager.d.ts",
@@ -41,5 +41,5 @@
41
41
  "peerDependencies": {
42
42
  "expo": "*"
43
43
  },
44
- "gitHead": "3142a086578deffd8704a8f1b6f0f661527d836c"
44
+ "gitHead": "ba36acbbe93bac3114612bd578619de9663c2a16"
45
45
  }