expo-background-fetch 10.0.3 → 10.1.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 +1 -5
- package/README.md +1 -1
- package/android/build.gradle +2 -2
- package/package.json +6 -4
- package/plugin/build/withBackgroundFetch.js +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-
|
|
|
13
13
|
|
|
14
14
|
# Installation in bare React Native projects
|
|
15
15
|
|
|
16
|
-
For bare React Native projects, you must ensure that you have [installed and configured the `
|
|
16
|
+
For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
|
|
17
17
|
|
|
18
18
|
### Add the package to your npm dependencies
|
|
19
19
|
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '10.0
|
|
6
|
+
version = '10.1.0'
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
9
9
|
// Simple helper that allows the root project to override versions declared by this library.
|
|
@@ -57,7 +57,7 @@ android {
|
|
|
57
57
|
minSdkVersion safeExtGet("minSdkVersion", 21)
|
|
58
58
|
targetSdkVersion safeExtGet("targetSdkVersion", 30)
|
|
59
59
|
versionCode 23
|
|
60
|
-
versionName "10.0
|
|
60
|
+
versionName "10.1.0"
|
|
61
61
|
}
|
|
62
62
|
lintOptions {
|
|
63
63
|
abortOnError false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-background-fetch",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"description": "Expo universal module for BackgroundFetch API",
|
|
5
5
|
"main": "build/BackgroundFetch.js",
|
|
6
6
|
"types": "build/BackgroundFetch.d.ts",
|
|
@@ -34,11 +34,13 @@
|
|
|
34
34
|
"homepage": "https://docs.expo.dev/versions/latest/sdk/background-fetch/",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@expo/config-plugins": "^4.0.2",
|
|
37
|
-
"expo-
|
|
38
|
-
"expo-task-manager": "~10.0.3"
|
|
37
|
+
"expo-task-manager": "~10.1.0"
|
|
39
38
|
},
|
|
40
39
|
"devDependencies": {
|
|
41
40
|
"expo-module-scripts": "^2.0.0"
|
|
42
41
|
},
|
|
43
|
-
"
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"expo": "*"
|
|
44
|
+
},
|
|
45
|
+
"gitHead": "2e5c6983b86d5ecfca028ba64002897d8adc2cc4"
|
|
44
46
|
}
|
|
@@ -4,7 +4,7 @@ const config_plugins_1 = require("@expo/config-plugins");
|
|
|
4
4
|
const pkg = require('expo-background-fetch/package.json');
|
|
5
5
|
const withBackgroundFetch = (config) => {
|
|
6
6
|
// TODO: Maybe entitlements are needed
|
|
7
|
-
config = config_plugins_1.withInfoPlist(config, (config) => {
|
|
7
|
+
config = (0, config_plugins_1.withInfoPlist)(config, (config) => {
|
|
8
8
|
if (!Array.isArray(config.modResults.UIBackgroundModes)) {
|
|
9
9
|
config.modResults.UIBackgroundModes = [];
|
|
10
10
|
}
|
|
@@ -18,4 +18,4 @@ const withBackgroundFetch = (config) => {
|
|
|
18
18
|
'android.permission.WAKE_LOCK',
|
|
19
19
|
]);
|
|
20
20
|
};
|
|
21
|
-
exports.default = config_plugins_1.createRunOncePlugin(withBackgroundFetch, pkg.name, pkg.version);
|
|
21
|
+
exports.default = (0, config_plugins_1.createRunOncePlugin)(withBackgroundFetch, pkg.name, pkg.version);
|