expo-manifests 0.14.1 → 0.14.3

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
+ ## 0.14.3 — 2024-05-16
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 0.14.2 — 2024-05-06
18
+
19
+ _This version does not introduce any user-facing changes._
20
+
13
21
  ## 0.14.1 — 2024-04-29
14
22
 
15
23
  _This version does not introduce any user-facing changes._
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '0.14.1'
4
+ version = '0.14.3'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -14,7 +14,7 @@ android {
14
14
  namespace "expo.modules.manifests"
15
15
  defaultConfig {
16
16
  versionCode 31
17
- versionName '0.14.1'
17
+ versionName '0.14.3'
18
18
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
19
19
  }
20
20
  testOptions {
@@ -301,6 +301,16 @@ public class Manifest: NSObject {
301
301
  return supportsRTL
302
302
  }
303
303
 
304
+ public func forcesRTL() -> Bool {
305
+ guard let expoClientConfigRootObject = expoClientConfigRootObject(),
306
+ let extra: [String: Any]? = expoClientConfigRootObject.optionalValue(forKey: "extra"),
307
+ let forcesRTL: Bool = extra?.optionalValue(forKey: "forcesRTL") else {
308
+ return false
309
+ }
310
+
311
+ return forcesRTL
312
+ }
313
+
304
314
  public func jsEngine() -> String {
305
315
  let jsEngine = expoClientConfigRootObject().let { it in
306
316
  Manifest.string(fromManifest: it, atPaths: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-manifests",
3
- "version": "0.14.1",
3
+ "version": "0.14.3",
4
4
  "description": "Code to parse and use Expo and Expo Updates manifests.",
5
5
  "main": "build/Manifests.js",
6
6
  "types": "build/Manifests.d.ts",
@@ -34,7 +34,7 @@
34
34
  "preset": "expo-module-scripts"
35
35
  },
36
36
  "dependencies": {
37
- "@expo/config": "~9.0.0-beta.0",
37
+ "@expo/config": "~9.0.0",
38
38
  "expo-json-utils": "~0.13.0"
39
39
  },
40
40
  "devDependencies": {
@@ -43,5 +43,5 @@
43
43
  "peerDependencies": {
44
44
  "expo": "*"
45
45
  },
46
- "gitHead": "4a7cf0d0baf6dfc595d93f604945d2142e705a36"
46
+ "gitHead": "d6515f12fc9eee6d563cc4de32f9aee5c856158f"
47
47
  }