expo-application 58.0.3 → 58.0.4

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/android/build.gradle +7 -2
  3. package/android/src/main/java/expo/modules/application/ApplicationExceptions.kt +25 -0
  4. package/android/src/main/java/expo/modules/application/ApplicationModule.kt +83 -101
  5. package/expo-module.config.json +0 -1
  6. package/ios/ExpoApplication.podspec +3 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4-sources.jar +0 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4-sources.jar.md5 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4-sources.jar.sha1 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4-sources.jar.sha256 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4-sources.jar.sha512 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.aar +0 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.aar.md5 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.aar.sha1 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.aar.sha256 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.aar.sha512 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.application/{58.0.3/expo.modules.application-58.0.3.module → 58.0.4/expo.modules.application-58.0.4.module} +22 -22
  18. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.module.md5 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.module.sha1 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.module.sha256 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.module.sha512 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.application/{58.0.3/expo.modules.application-58.0.3.pom → 58.0.4/expo.modules.application-58.0.4.pom} +1 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.pom.md5 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.pom.sha1 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.pom.sha256 +1 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.4/expo.modules.application-58.0.4.pom.sha512 +1 -0
  27. package/package.json +6 -4
  28. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3-sources.jar +0 -0
  29. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3-sources.jar.md5 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3-sources.jar.sha1 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3-sources.jar.sha256 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3-sources.jar.sha512 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.aar +0 -0
  34. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.aar.md5 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.aar.sha1 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.aar.sha256 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.aar.sha512 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.module.md5 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.module.sha1 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.module.sha256 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.module.sha512 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.pom.md5 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.pom.sha1 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.pom.sha256 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.application/58.0.3/expo.modules.application-58.0.3.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 58.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [Android] Migrate to the Expo Modules API 2.0. ([#51077](https://github.com/expo/expo/pull/51077) by [@lukmccall](https://github.com/lukmccall))
8
+
3
9
  ## 58.0.3
4
10
 
5
11
  ### Patch Changes
@@ -4,13 +4,17 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '58.0.3'
7
+ version = '58.0.4'
8
+
9
+ expoModule {
10
+ v2 true
11
+ }
8
12
 
9
13
  android {
10
14
  namespace "expo.modules.application"
11
15
  defaultConfig {
12
16
  versionCode 12
13
- versionName '58.0.3'
17
+ versionName '58.0.4'
14
18
  }
15
19
  }
16
20
 
@@ -21,5 +25,6 @@ dependencies {
21
25
  testImplementation project(':expo-modules-test-core')
22
26
  }
23
27
  testImplementation "org.robolectric:robolectric:4.16"
28
+ testImplementation 'com.facebook.react:react-android'
24
29
  testImplementation 'junit:junit:4.13.2'
25
30
  }
@@ -0,0 +1,25 @@
1
+ package expo.modules.application
2
+
3
+ import android.content.pm.PackageManager
4
+ import android.os.RemoteException
5
+ import expo.modules.kotlin.exception.CodedException
6
+
7
+ class ApplicationPackageNameNotFoundException(cause: PackageManager.NameNotFoundException) :
8
+ CodedException(message = "Unable to get install time of this application. Could not get package info or package name.", cause = cause)
9
+
10
+ // The code is set explicitly, because the one inferred from the class name drops the `_EXCEPTION` suffix.
11
+ internal class ApplicationInstallReferrerRemoteException(cause: RemoteException) :
12
+ CodedException(
13
+ "ERR_APPLICATION_INSTALL_REFERRER_REMOTE_EXCEPTION",
14
+ "RemoteException getting install referrer information. This may happen if the process hosting the remote object is no longer available.",
15
+ cause
16
+ )
17
+
18
+ internal class ApplicationInstallReferrerUnavailableException :
19
+ CodedException("The current Play Store app doesn't provide the installation referrer API, or the Play Store may not be installed.")
20
+
21
+ internal class ApplicationInstallReferrerException(responseCode: Int) :
22
+ CodedException("General error retrieving the install referrer: response code $responseCode")
23
+
24
+ internal class ApplicationInstallReferrerServiceDisconnectedException :
25
+ CodedException("Connection to install referrer service was lost.")
@@ -1,6 +1,6 @@
1
1
  package expo.modules.application
2
2
 
3
- import android.content.Context
3
+ import android.annotation.SuppressLint
4
4
  import android.content.pm.PackageInfo
5
5
  import android.content.pm.PackageManager
6
6
  import android.os.Build
@@ -8,120 +8,102 @@ import android.os.RemoteException
8
8
  import android.provider.Settings
9
9
  import com.android.installreferrer.api.InstallReferrerClient
10
10
  import com.android.installreferrer.api.InstallReferrerStateListener
11
- import expo.modules.kotlin.Promise
12
- import expo.modules.kotlin.exception.CodedException
13
- import expo.modules.kotlin.exception.Exceptions
14
- import expo.modules.kotlin.modules.Module
15
- import expo.modules.kotlin.modules.ModuleDefinition
16
-
17
- class ApplicationPackageNameNotFoundException(cause: PackageManager.NameNotFoundException) :
18
- CodedException(message = "Unable to get install time of this application. Could not get package info or package name.", cause = cause)
19
-
11
+ import io.github.expo.modules.v2.Constant
12
+ import io.github.expo.modules.v2.ExpoModule
13
+ import io.github.expo.modules.v2.JS
14
+ import io.github.expo.modules.v2.Module
15
+ import io.github.expo.modules.v2.react.androidContext
16
+ import kotlinx.coroutines.Dispatchers
17
+ import kotlinx.coroutines.suspendCancellableCoroutine
18
+ import kotlinx.coroutines.withContext
19
+ import kotlin.coroutines.resume
20
+ import kotlin.coroutines.resumeWithException
21
+
22
+ @ExpoModule("ExpoApplication")
20
23
  class ApplicationModule : Module() {
21
- private val context: Context
22
- get() = appContext.reactContext ?: throw Exceptions.ReactContextLost()
23
-
24
- override fun definition() = ModuleDefinition {
25
- Name("ExpoApplication")
26
-
27
- Constant("applicationName") {
28
- context.applicationInfo.loadLabel(context.packageManager).toString()
29
- }
30
-
31
- Constant("applicationId") {
32
- packageName
33
- }
34
-
35
- Constant("nativeApplicationVersion") {
36
- packageManager.getPackageInfoCompat(packageName, 0).versionName
37
- }
38
-
39
- Constant("nativeBuildVersion") {
40
- getLongVersionCode(packageManager.getPackageInfoCompat(packageName, 0)).toInt().toString()
41
- }
42
-
43
- Constant("androidId") {
44
- Settings.Secure.getString(context.contentResolver, Settings.Secure.ANDROID_ID)
45
- }
46
-
47
- AsyncFunction<Double>("getInstallationTimeAsync") {
48
- val packageManager = context.packageManager
49
- val packageName = context.packageName
50
- packageManager
51
- .getPackageInfoCompat(packageName, 0)
52
- .firstInstallTime
53
- .toDouble()
54
- }
55
-
56
- AsyncFunction<Double>("getLastUpdateTimeAsync") {
57
- val packageManager = context.packageManager
58
- val packageName = context.packageName
59
- packageManager
60
- .getPackageInfoCompat(packageName, 0)
61
- .lastUpdateTime
62
- .toDouble()
63
- }
64
-
65
- AsyncFunction("getInstallReferrerAsync") { promise: Promise ->
66
- val installReferrer = StringBuilder()
67
- var isSettled = false
24
+ private val packageInfo: PackageInfo
25
+ get() = androidContext.packageManager.getPackageInfoCompat(androidContext.packageName)
26
+
27
+ @JS
28
+ @Constant
29
+ val applicationName: String
30
+ get() = androidContext.applicationInfo.loadLabel(androidContext.packageManager).toString()
31
+
32
+ @JS
33
+ @Constant
34
+ val applicationId: String
35
+ get() = androidContext.packageName
36
+
37
+ @JS
38
+ @Constant
39
+ val nativeApplicationVersion: String?
40
+ get() = packageInfo.versionName
41
+
42
+ @JS
43
+ @Constant
44
+ val nativeBuildVersion: String
45
+ get() = getLongVersionCode(packageInfo).toInt().toString()
46
+
47
+ @JS
48
+ @Constant
49
+ @get:SuppressLint("HardwareIds")
50
+ val androidId: String?
51
+ get() = Settings.Secure.getString(androidContext.contentResolver, Settings.Secure.ANDROID_ID)
52
+
53
+ @JS
54
+ suspend fun getInstallationTimeAsync(): Double = withContext(Dispatchers.IO) {
55
+ packageInfo.firstInstallTime.toDouble()
56
+ }
68
57
 
69
- val referrerClient = InstallReferrerClient.newBuilder(context).build()
58
+ @JS
59
+ suspend fun getLastUpdateTimeAsync(): Double = withContext(Dispatchers.IO) {
60
+ packageInfo.lastUpdateTime.toDouble()
61
+ }
70
62
 
71
- referrerClient.startConnection(object : InstallReferrerStateListener {
72
- override fun onInstallReferrerSetupFinished(responseCode: Int) {
73
- if (isSettled) {
74
- return
75
- }
63
+ @JS
64
+ suspend fun getInstallReferrerAsync(): String = suspendCancellableCoroutine { continuation ->
65
+ val referrerClient = InstallReferrerClient.newBuilder(androidContext).build()
76
66
 
77
- when (responseCode) {
78
- InstallReferrerClient.InstallReferrerResponse.OK -> {
79
- // Connection established and response received
80
- try {
81
- val response = referrerClient.installReferrer
82
- installReferrer.append(response.installReferrer)
83
- } catch (e: RemoteException) {
84
- promise.reject("ERR_APPLICATION_INSTALL_REFERRER_REMOTE_EXCEPTION", "RemoteException getting install referrer information. This may happen if the process hosting the remote object is no longer available.", e)
85
- return
86
- } finally {
87
- isSettled = true
88
- }
89
- promise.resolve(installReferrer.toString())
90
- }
67
+ val listener = object : InstallReferrerStateListener {
68
+ override fun onInstallReferrerSetupFinished(responseCode: Int) {
69
+ if (!continuation.isActive) {
70
+ return
71
+ }
91
72
 
92
- InstallReferrerClient.InstallReferrerResponse.FEATURE_NOT_SUPPORTED -> { // API not available in the current Play Store app
93
- isSettled = true
94
- promise.reject("ERR_APPLICATION_INSTALL_REFERRER_UNAVAILABLE", "The current Play Store app doesn't provide the installation referrer API, or the Play Store may not be installed.", null)
73
+ when (responseCode) {
74
+ InstallReferrerClient.InstallReferrerResponse.OK -> {
75
+ // Connection established and response received
76
+ try {
77
+ val installReferrer: String? = referrerClient.installReferrer.installReferrer
78
+ continuation.resume(installReferrer.toString())
79
+ } catch (e: RemoteException) {
80
+ continuation.resumeWithException(ApplicationInstallReferrerRemoteException(e))
95
81
  }
82
+ }
96
83
 
97
- InstallReferrerClient.InstallReferrerResponse.SERVICE_UNAVAILABLE -> { // Connection could not be established
98
- isSettled = true
99
- promise.reject("ERR_APPLICATION_INSTALL_REFERRER", "General error retrieving the install referrer: response code $responseCode", null)
100
- }
84
+ InstallReferrerClient.InstallReferrerResponse.FEATURE_NOT_SUPPORTED -> {
85
+ // API not available in the current Play Store app
86
+ continuation.resumeWithException(ApplicationInstallReferrerUnavailableException())
87
+ }
101
88
 
102
- else -> {
103
- isSettled = true
104
- promise.reject("ERR_APPLICATION_INSTALL_REFERRER", "General error retrieving the install referrer: response code $responseCode", null)
105
- }
89
+ else -> {
90
+ // Includes SERVICE_UNAVAILABLE, when the connection could not be established
91
+ continuation.resumeWithException(ApplicationInstallReferrerException(responseCode))
106
92
  }
107
- referrerClient.endConnection()
108
93
  }
94
+ referrerClient.endConnection()
95
+ }
109
96
 
110
- override fun onInstallReferrerServiceDisconnected() {
111
- if (isSettled) {
112
- return
113
- }
114
- isSettled = true
115
- promise.reject("ERR_APPLICATION_INSTALL_REFERRER_SERVICE_DISCONNECTED", "Connection to install referrer service was lost.", null)
97
+ override fun onInstallReferrerServiceDisconnected() {
98
+ if (!continuation.isActive) {
99
+ return
116
100
  }
117
- })
101
+ continuation.resumeWithException(ApplicationInstallReferrerServiceDisconnectedException())
102
+ }
118
103
  }
119
- }
120
104
 
121
- private val packageName
122
- get() = context.packageName
123
- private val packageManager
124
- get() = context.packageManager
105
+ referrerClient.startConnection(listener)
106
+ }
125
107
  }
126
108
 
127
109
  private fun PackageManager.getPackageInfoCompat(packageName: String, flags: Int = 0): PackageInfo =
@@ -4,7 +4,6 @@
4
4
  "modules": ["ApplicationModule"]
5
5
  },
6
6
  "android": {
7
- "modules": ["expo.modules.application.ApplicationModule"],
8
7
  "publication": {
9
8
  "groupId": "host.exp.exponent",
10
9
  "artifactId": "expo.modules.application",
@@ -35,5 +35,8 @@ Pod::Spec.new do |s|
35
35
  test_spec.dependency 'ExpoModulesTestCore'
36
36
 
37
37
  test_spec.source_files = 'Tests/**/*.{m,swift}'
38
+ # The test bundle links C++ code from ExpoModulesCore but does not inherit its
39
+ # user_target_xcconfig (-lc++), so link the C++ runtime explicitly.
40
+ test_spec.libraries = 'c++'
38
41
  end
39
42
  end
@@ -0,0 +1 @@
1
+ 4e6b197ea81366e4ce706c9bf316457bb0a6dffab7a035f91dbeb4376dd0c6f1
@@ -0,0 +1 @@
1
+ 86e8ef7389ea58be85069e0cc92af6dce9397066c05ff5ef82cbc94319ac21123569e1215983df172e7f8450856e8371f29f311eb4c9258e603f5d9fdb0f07ff
@@ -0,0 +1 @@
1
+ 6c42277423ac93c44f93cb6ffc5b99cbaef685a34694c35df18fea38439991d0
@@ -0,0 +1 @@
1
+ f89769b47863dd16fc59557e328743dbd5e940cbb6a580586b64a52604770f8c9ed27f0573084a9dda31c99da2fe666dbb384320f2bad1aeff7b23cb409cae28
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.application",
6
- "version": "58.0.3",
6
+ "version": "58.0.4",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.application-58.0.3.aar",
28
- "url": "expo.modules.application-58.0.3.aar",
29
- "size": 22526,
30
- "sha512": "bbc7ca518bb2f3e9e426aba12a808376dec2f44f74ea8d8e927e5c505e95bc19dddf5f3fc2efd3035f4a32c37e8e66be22125438374299e0b3ed5924e4b02af7",
31
- "sha256": "65b8ed41cf4e4df7ae98e4be999c41bf11e9d54e37512a9d503ae9d87a24fc28",
32
- "sha1": "a0dc5192265488e4694695bd82f2aff4e92f10b7",
33
- "md5": "0ccb1e544954d9fe2b6744ac25ea402d"
27
+ "name": "expo.modules.application-58.0.4.aar",
28
+ "url": "expo.modules.application-58.0.4.aar",
29
+ "size": 18123,
30
+ "sha512": "f89769b47863dd16fc59557e328743dbd5e940cbb6a580586b64a52604770f8c9ed27f0573084a9dda31c99da2fe666dbb384320f2bad1aeff7b23cb409cae28",
31
+ "sha256": "6c42277423ac93c44f93cb6ffc5b99cbaef685a34694c35df18fea38439991d0",
32
+ "sha1": "ad6b23cd77185c5892195bafa63bff9acff975df",
33
+ "md5": "a9d4d8d15c49e828314a678eccd15bdb"
34
34
  }
35
35
  ]
36
36
  },
@@ -74,13 +74,13 @@
74
74
  ],
75
75
  "files": [
76
76
  {
77
- "name": "expo.modules.application-58.0.3.aar",
78
- "url": "expo.modules.application-58.0.3.aar",
79
- "size": 22526,
80
- "sha512": "bbc7ca518bb2f3e9e426aba12a808376dec2f44f74ea8d8e927e5c505e95bc19dddf5f3fc2efd3035f4a32c37e8e66be22125438374299e0b3ed5924e4b02af7",
81
- "sha256": "65b8ed41cf4e4df7ae98e4be999c41bf11e9d54e37512a9d503ae9d87a24fc28",
82
- "sha1": "a0dc5192265488e4694695bd82f2aff4e92f10b7",
83
- "md5": "0ccb1e544954d9fe2b6744ac25ea402d"
77
+ "name": "expo.modules.application-58.0.4.aar",
78
+ "url": "expo.modules.application-58.0.4.aar",
79
+ "size": 18123,
80
+ "sha512": "f89769b47863dd16fc59557e328743dbd5e940cbb6a580586b64a52604770f8c9ed27f0573084a9dda31c99da2fe666dbb384320f2bad1aeff7b23cb409cae28",
81
+ "sha256": "6c42277423ac93c44f93cb6ffc5b99cbaef685a34694c35df18fea38439991d0",
82
+ "sha1": "ad6b23cd77185c5892195bafa63bff9acff975df",
83
+ "md5": "a9d4d8d15c49e828314a678eccd15bdb"
84
84
  }
85
85
  ]
86
86
  },
@@ -94,13 +94,13 @@
94
94
  },
95
95
  "files": [
96
96
  {
97
- "name": "expo.modules.application-58.0.3-sources.jar",
98
- "url": "expo.modules.application-58.0.3-sources.jar",
99
- "size": 2249,
100
- "sha512": "92aec9238bd78553432160c48fa2a91c68df1c165785a7476d1c54c6a3e81642d67201c8a8c3aad638e1424d70ccbe0a6baac27ec41c3396df592cac5211f2b7",
101
- "sha256": "6f13fc0a916e63b87161bfa61bfdc166fd152ee05ab57530b70e6b2f0aa34459",
102
- "sha1": "3f85782a4a03fac834b261c741dc135cb8475fda",
103
- "md5": "95609cbf50765fa1e2fed16cbe8aa161"
97
+ "name": "expo.modules.application-58.0.4-sources.jar",
98
+ "url": "expo.modules.application-58.0.4-sources.jar",
99
+ "size": 2703,
100
+ "sha512": "86e8ef7389ea58be85069e0cc92af6dce9397066c05ff5ef82cbc94319ac21123569e1215983df172e7f8450856e8371f29f311eb4c9258e603f5d9fdb0f07ff",
101
+ "sha256": "4e6b197ea81366e4ce706c9bf316457bb0a6dffab7a035f91dbeb4376dd0c6f1",
102
+ "sha1": "4d13e39c43a17a2fe848a144d9041eacd70c8a65",
103
+ "md5": "badb9f68537d23227c297015ab75ab33"
104
104
  }
105
105
  ]
106
106
  }
@@ -0,0 +1 @@
1
+ d3f4feecb6404f6cd57637e27c5f8782a2175080f3a8d5424770d0d832bff4a8
@@ -0,0 +1 @@
1
+ 28358f0723b7e0741b2298679ec67b5fa531fbc6b5db3187875666f8a36cbb88e0f631dc7faaee43079ceed1594e0ce67f02156c06be8a9f7e4f55d12ef9209a
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.application</artifactId>
12
- <version>58.0.3</version>
12
+ <version>58.0.4</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.application</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 91103830b98af49c9777e55f9cf06de7430f5bb48d35f7eed5fcca791b15e4f6
@@ -0,0 +1 @@
1
+ a992d37cf5f0b25e66fec5e1a891f8456b4d77aacf4c132f2f1741a413a8e065f81de070e1df9467157f331a93e4e13f0e948c54c06b69756f91cfee03c81626
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-application",
3
- "version": "58.0.3",
3
+ "version": "58.0.4",
4
4
  "description": "A universal module that gets native application information such as its ID, app name, and build version at runtime",
5
5
  "keywords": [
6
6
  "expo",
@@ -33,8 +33,9 @@
33
33
  },
34
34
  "dependencies": {},
35
35
  "devDependencies": {
36
- "expo": "58.0.2",
37
- "expo-module-scripts": "56.0.5"
36
+ "expo": "58.0.4",
37
+ "expo-module-scripts": "56.0.7",
38
+ "expo-modules-cli": "0.2.1"
38
39
  },
39
40
  "peerDependencies": {
40
41
  "expo": "*"
@@ -48,6 +49,7 @@
48
49
  "swift:format": "../../scripts/swift-format.sh",
49
50
  "swift:lint": "../../scripts/swift-format.sh --lint",
50
51
  "depscheck": "expo-module depscheck",
51
- "typecheck": "tsc -p tsconfig.json"
52
+ "typecheck": "tsc -p tsconfig.json",
53
+ "generate-types": "expo-modules generate-types"
52
54
  }
53
55
  }
@@ -1 +0,0 @@
1
- 6f13fc0a916e63b87161bfa61bfdc166fd152ee05ab57530b70e6b2f0aa34459
@@ -1 +0,0 @@
1
- 92aec9238bd78553432160c48fa2a91c68df1c165785a7476d1c54c6a3e81642d67201c8a8c3aad638e1424d70ccbe0a6baac27ec41c3396df592cac5211f2b7
@@ -1 +0,0 @@
1
- 65b8ed41cf4e4df7ae98e4be999c41bf11e9d54e37512a9d503ae9d87a24fc28
@@ -1 +0,0 @@
1
- bbc7ca518bb2f3e9e426aba12a808376dec2f44f74ea8d8e927e5c505e95bc19dddf5f3fc2efd3035f4a32c37e8e66be22125438374299e0b3ed5924e4b02af7
@@ -1 +0,0 @@
1
- bcbe900a1441a9d344043d789ac45bb7cd6b46282de519a52ee967b1034d5ec9
@@ -1 +0,0 @@
1
- 237698b114a983edcbfb2a7e0c17c813a8217dbbad7132fea0808b1b39c71c1176d48fd11cfe828834b06c0890ab8aa28edc9caa1c2d6c9bf3cd831cd5066f29
@@ -1 +0,0 @@
1
- f5a45767ca36deb18b81c3d6fb6931d060490d7b5aff40982134b39b089d12e3
@@ -1 +0,0 @@
1
- 2bbd24e92f90436d8999f837ebf78209902b5cb42aa4c3832d8c9629f685bb912d46db0ef5d18e8558a4432f1c13adf3f579354551b8b28559f1a44335d995be