expo-manifests 0.14.1 → 0.14.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 +4 -0
- package/android/build.gradle +2 -2
- package/ios/EXManifests/Manifest.swift +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'host.exp.exponent'
|
|
4
|
-
version = '0.14.
|
|
4
|
+
version = '0.14.2'
|
|
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.
|
|
17
|
+
versionName '0.14.2'
|
|
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.
|
|
3
|
+
"version": "0.14.2",
|
|
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",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"expo": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "7995f30a8d2af4836f3aef9fe322e9403fc23d34"
|
|
47
47
|
}
|