expo-modules-core 2.0.1 → 2.0.2
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
|
+
## 2.0.2 — 2024-11-13
|
|
14
|
+
|
|
15
|
+
### 💡 Others
|
|
16
|
+
|
|
17
|
+
- [Android] Added `executeTask` method to `TaskManagerUtilsInterface` ([#32849](https://github.com/expo/expo/pull/32849) by [@chrfalch](https://github.com/chrfalch))
|
|
18
|
+
|
|
13
19
|
## 2.0.1 — 2024-11-12
|
|
14
20
|
|
|
15
21
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
3
3
|
apply plugin: 'com.android.library'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '2.0.
|
|
6
|
+
version = '2.0.2'
|
|
7
7
|
|
|
8
8
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
9
9
|
apply from: expoModulesCorePlugin
|
|
@@ -67,7 +67,7 @@ android {
|
|
|
67
67
|
defaultConfig {
|
|
68
68
|
consumerProguardFiles 'proguard-rules.pro'
|
|
69
69
|
versionCode 1
|
|
70
|
-
versionName "2.0.
|
|
70
|
+
versionName "2.0.2"
|
|
71
71
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
|
|
72
72
|
|
|
73
73
|
testInstrumentationRunner "expo.modules.TestRunner"
|
package/android/src/main/java/expo/modules/interfaces/taskManager/TaskManagerUtilsInterface.java
CHANGED
|
@@ -3,6 +3,7 @@ package expo.modules.interfaces.taskManager;
|
|
|
3
3
|
import android.app.PendingIntent;
|
|
4
4
|
import android.app.job.JobParameters;
|
|
5
5
|
import android.content.Context;
|
|
6
|
+
import android.os.Bundle;
|
|
6
7
|
import android.os.PersistableBundle;
|
|
7
8
|
|
|
8
9
|
import java.util.List;
|
|
@@ -23,6 +24,11 @@ public interface TaskManagerUtilsInterface {
|
|
|
23
24
|
*/
|
|
24
25
|
void scheduleJob(Context context, TaskInterface task, List<PersistableBundle> data);
|
|
25
26
|
|
|
27
|
+
/**
|
|
28
|
+
* Executes a task directly
|
|
29
|
+
*/
|
|
30
|
+
void executeTask(TaskInterface task, Bundle data);
|
|
31
|
+
|
|
26
32
|
/**
|
|
27
33
|
* Cancels scheduled job with given identifier.
|
|
28
34
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "The core of Expo Modules architecture",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@testing-library/react-native": "^12.5.2",
|
|
45
45
|
"expo-module-scripts": "^4.0.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "c4999f5aa407155a170830a0fa17e3e3ca1fcbee"
|
|
48
48
|
}
|