unimodules-app-loader 4.2.0 → 4.4.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 CHANGED
@@ -10,6 +10,18 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 4.4.0 — 2023-10-17
14
+
15
+ ### 🛠 Breaking changes
16
+
17
+ - Dropped support for Android SDK 21 and 22. ([#24201](https://github.com/expo/expo/pull/24201) by [@behenate](https://github.com/behenate))
18
+
19
+ ## 4.3.0 — 2023-09-04
20
+
21
+ ### 🎉 New features
22
+
23
+ - Added support for React Native 0.73. ([#24018](https://github.com/expo/expo/pull/24018) by [@kudo](https://github.com/kudo))
24
+
13
25
  ## 4.2.0 — 2023-06-21
14
26
 
15
27
  ### 🐛 Bug fixes
@@ -3,15 +3,19 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '4.2.0'
6
+ version = '4.4.0'
7
7
 
8
- buildscript {
9
- def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
10
- if (expoModulesCorePlugin.exists()) {
11
- apply from: expoModulesCorePlugin
12
- applyKotlinExpoModulesCorePlugin()
8
+ def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
+ if (expoModulesCorePlugin.exists()) {
10
+ apply from: expoModulesCorePlugin
11
+ applyKotlinExpoModulesCorePlugin()
12
+ // Remove this check, but keep the contents after SDK49 support is dropped
13
+ if (safeExtGet("expoProvidesDefaultConfig", false)) {
14
+ useExpoPublishing()
13
15
  }
16
+ }
14
17
 
18
+ buildscript {
15
19
  // Simple helper that allows the root project to override versions declared by this library.
16
20
  ext.safeExtGet = { prop, fallback ->
17
21
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
@@ -35,47 +39,61 @@ buildscript {
35
39
  }
36
40
  }
37
41
 
38
- afterEvaluate {
39
- publishing {
40
- publications {
41
- release(MavenPublication) {
42
- from components.release
42
+ // Remove this if and it's contents, when support for SDK49 is dropped
43
+ if (!safeExtGet("expoProvidesDefaultConfig", false)) {
44
+ afterEvaluate {
45
+ publishing {
46
+ publications {
47
+ release(MavenPublication) {
48
+ from components.release
49
+ }
43
50
  }
44
- }
45
- repositories {
46
- maven {
47
- url = mavenLocal().url
51
+ repositories {
52
+ maven {
53
+ url = mavenLocal().url
54
+ }
48
55
  }
49
56
  }
50
57
  }
51
58
  }
52
59
 
53
60
  android {
54
- compileSdkVersion safeExtGet("compileSdkVersion", 33)
61
+ // Remove this if and it's contents, when support for SDK49 is dropped
62
+ if (!safeExtGet("expoProvidesDefaultConfig", false)) {
63
+ compileSdkVersion safeExtGet("compileSdkVersion", 33)
64
+
65
+ defaultConfig {
66
+ minSdkVersion safeExtGet("minSdkVersion", 23)
67
+ targetSdkVersion safeExtGet("targetSdkVersion", 33)
68
+ }
69
+
70
+ publishing {
71
+ singleVariant("release") {
72
+ withSourcesJar()
73
+ }
74
+ }
55
75
 
56
- compileOptions {
57
- sourceCompatibility JavaVersion.VERSION_11
58
- targetCompatibility JavaVersion.VERSION_11
76
+ lintOptions {
77
+ abortOnError false
78
+ }
59
79
  }
60
80
 
61
- kotlinOptions {
62
- jvmTarget = JavaVersion.VERSION_11.majorVersion
81
+ def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
82
+ if (agpVersion.tokenize('.')[0].toInteger() < 8) {
83
+ compileOptions {
84
+ sourceCompatibility JavaVersion.VERSION_11
85
+ targetCompatibility JavaVersion.VERSION_11
86
+ }
87
+
88
+ kotlinOptions {
89
+ jvmTarget = JavaVersion.VERSION_11.majorVersion
90
+ }
63
91
  }
64
92
 
65
93
  namespace "org.unimodules.apploader"
66
94
  defaultConfig {
67
- minSdkVersion safeExtGet("minSdkVersion", 21)
68
- targetSdkVersion safeExtGet("targetSdkVersion", 33)
69
95
  versionCode 8
70
- versionName '4.2.0'
71
- }
72
- lintOptions {
73
- abortOnError false
74
- }
75
- publishing {
76
- singleVariant("release") {
77
- withSourcesJar()
78
- }
96
+ versionName '4.4.0'
79
97
  }
80
98
  }
81
99
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unimodules-app-loader",
3
- "version": "4.2.0",
3
+ "version": "4.4.0",
4
4
  "description": "App loader for background applications",
5
5
  "keywords": [
6
6
  "react-native",
@@ -21,5 +21,5 @@
21
21
  "devDependencies": {
22
22
  "expo-module-scripts": "^3.0.0"
23
23
  },
24
- "gitHead": "fa5ecca8251986b9f197cc14074eec0ab6dfb6db"
24
+ "gitHead": "da25937e2a99661cbe5eb60ca1d8d6245fc96a50"
25
25
  }