expo-application 5.8.0 → 5.8.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,14 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 5.8.2 — 2024-01-10
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
17
|
+
## 5.8.1 — 2023-12-19
|
|
18
|
+
|
|
19
|
+
_This version does not introduce any user-facing changes._
|
|
20
|
+
|
|
13
21
|
## 5.8.0 — 2023-12-12
|
|
14
22
|
|
|
15
23
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '5.8.
|
|
6
|
+
version = '5.8.2'
|
|
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.application"
|
|
95
95
|
defaultConfig {
|
|
96
96
|
versionCode 12
|
|
97
|
-
versionName '5.8.
|
|
97
|
+
versionName '5.8.2'
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -29,7 +29,7 @@ class ApplicationModule : Module() {
|
|
|
29
29
|
"applicationName" to applicationName,
|
|
30
30
|
"applicationId" to packageName,
|
|
31
31
|
"nativeApplicationVersion" to versionName,
|
|
32
|
-
"nativeBuildVersion" to versionCode.toString()
|
|
32
|
+
"nativeBuildVersion" to versionCode.toString()
|
|
33
33
|
)
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -110,7 +110,8 @@ private fun PackageManager.getPackageInfoCompat(packageName: String, flags: Int
|
|
|
110
110
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
|
111
111
|
getPackageInfo(packageName, PackageManager.PackageInfoFlags.of(flags.toLong()))
|
|
112
112
|
} else {
|
|
113
|
-
@Suppress("DEPRECATION")
|
|
113
|
+
@Suppress("DEPRECATION")
|
|
114
|
+
getPackageInfo(packageName, flags)
|
|
114
115
|
}
|
|
115
116
|
} catch (e: PackageManager.NameNotFoundException) {
|
|
116
117
|
throw ApplicationPackageNameNotFoundException(e)
|
|
@@ -120,6 +121,7 @@ private fun getLongVersionCode(info: PackageInfo): Long {
|
|
|
120
121
|
return if (Build.VERSION.SDK_INT >= 28) {
|
|
121
122
|
info.longVersionCode
|
|
122
123
|
} else {
|
|
123
|
-
@Suppress("DEPRECATION")
|
|
124
|
+
@Suppress("DEPRECATION")
|
|
125
|
+
info.versionCode.toLong()
|
|
124
126
|
}
|
|
125
127
|
}
|
package/expo-module.config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-application",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.2",
|
|
4
4
|
"description": "A universal module that gets native application information such as its ID, app name, and build version at runtime",
|
|
5
5
|
"main": "build/Application.js",
|
|
6
6
|
"types": "build/Application.d.ts",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"expo": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "ca014bf2516c7644ef303f4c21fdd68de4d99f76"
|
|
40
40
|
}
|