expo-background-task 0.1.4 → 0.2.0
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 +8 -2
- package/README.md +1 -1
- package/android/build.gradle +5 -21
- package/expo-module.config.json +5 -6
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
-
## 0.
|
|
13
|
+
## 0.2.0 — 2025-04-04
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
17
|
+
## 0.1.4 - 2025-04-02
|
|
14
18
|
|
|
15
19
|
### 🐛 Bug fixes
|
|
16
20
|
|
|
@@ -31,7 +35,7 @@
|
|
|
31
35
|
|
|
32
36
|
_This version does not introduce any user-facing changes._
|
|
33
37
|
|
|
34
|
-
## 0.1.1
|
|
38
|
+
## 0.1.1 - 2025-01-31
|
|
35
39
|
|
|
36
40
|
### 💡 Others
|
|
37
41
|
|
|
@@ -45,4 +49,6 @@ _This version does not introduce any user-facing changes._
|
|
|
45
49
|
|
|
46
50
|
## 0.0.0 — 2025-01-21
|
|
47
51
|
|
|
52
|
+
### 🎉 New features
|
|
53
|
+
|
|
48
54
|
- Added expo-background-task package ([#33438](https://github.com/expo/expo/pull/33438) by [@chrfalch](https://github.com/chrfalch))
|
package/README.md
CHANGED
package/android/build.gradle
CHANGED
|
@@ -1,26 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
5
|
-
apply from: expoModulesCorePlugin
|
|
6
|
-
applyKotlinExpoModulesCorePlugin()
|
|
7
|
-
useCoreDependencies()
|
|
8
|
-
useDefaultAndroidSdkVersions()
|
|
9
|
-
useExpoPublishing()
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
try {
|
|
13
|
-
apply plugin: 'expo-module-gradle-plugin'
|
|
14
|
-
} catch (e) {
|
|
15
|
-
if (!e instanceof UnknownPluginException) {
|
|
16
|
-
throw e
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
useLegacyExpoModulesCorePlugin()
|
|
1
|
+
plugins {
|
|
2
|
+
id 'com.android.library'
|
|
3
|
+
id 'expo-module-gradle-plugin'
|
|
20
4
|
}
|
|
21
5
|
|
|
22
6
|
group = 'host.exp.exponent'
|
|
23
|
-
version = '0.
|
|
7
|
+
version = '0.2.0'
|
|
24
8
|
|
|
25
9
|
dependencies {
|
|
26
10
|
implementation 'androidx.work:work-runtime-ktx:2.9.1'
|
|
@@ -31,7 +15,7 @@ android {
|
|
|
31
15
|
namespace "expo.modules.backgroundtask"
|
|
32
16
|
defaultConfig {
|
|
33
17
|
versionCode 23
|
|
34
|
-
versionName "0.
|
|
18
|
+
versionName "0.2.0"
|
|
35
19
|
consumerProguardFiles("proguard-rules.pro")
|
|
36
20
|
}
|
|
37
21
|
}
|
package/expo-module.config.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
"
|
|
6
|
-
"modules": [ "BackgroundTaskModule" ]
|
|
2
|
+
"platforms": ["apple", "android"],
|
|
3
|
+
"apple": {
|
|
4
|
+
"appDelegateSubscribers": ["BackgroundTaskAppDelegateSubscriber"],
|
|
5
|
+
"modules": ["BackgroundTaskModule"]
|
|
7
6
|
},
|
|
8
7
|
"android": {
|
|
9
|
-
"modules": [
|
|
8
|
+
"modules": ["expo.modules.backgroundtask.BackgroundTaskModule"]
|
|
10
9
|
}
|
|
11
10
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-background-task",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Expo
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Expo Android and iOS module for Background Task APIs",
|
|
5
5
|
"main": "build/BackgroundTask.js",
|
|
6
6
|
"types": "build/BackgroundTask.d.ts",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"homepage": "https://docs.expo.dev/versions/latest/sdk/background-task/",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"expo-task-manager": "~
|
|
35
|
+
"expo-task-manager": "~13.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"expo-module-scripts": "^4.0
|
|
38
|
+
"expo-module-scripts": "^4.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"expo": "*"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "68b8233002dc678934ba40cbade7fbc80e71aeff"
|
|
44
44
|
}
|