Rename to 'ios.non-exempt-encryption'

This commit is contained in:
Joshua Granick
2017-08-28 11:49:17 -07:00
parent b2d5367f32
commit 9f5a478154
4 changed files with 4 additions and 10 deletions

View File

@@ -276,10 +276,7 @@ class IOSPlatform extends PlatformTarget {
}
context.IOS_LINKER_FLAGS = ["-stdlib=libc++"].concat (project.config.getArrayString ("ios.linker-flags"));
if (project.config.exists("ios.non_encryption")) {
context.NON_ENCRYPTION = project.config.getBool ("ios.non_encryption", false);
}
context.IOS_NON_EXEMPT_ENCRYPTION = project.config.getBool ("ios.non-exempt-encryption", true);
switch (project.window.orientation) {

View File

@@ -231,10 +231,7 @@ class TVOSPlatform extends PlatformTarget {
}
context.IOS_LINKER_FLAGS = ["-stdlib=libc++"].concat (project.config.getArrayString ("tvos.linker-flags"));
if (project.config.exists("tvos.non_encryption")) {
context.NON_ENCRYPTION = project.config.getBool ("tvos.non_encryption", false);
}
context.IOS_NON_EXEMPT_ENCRYPTION = project.config.getBool ("tvos.non-exempt-encryption", true);
switch (project.window.orientation) {

View File

@@ -53,6 +53,6 @@
</dict>::end::::else::<key>NSAllowsArbitraryLoads</key>
<true/>::end::
</dict>
::if (NON_ENCRYPTION != null)::<key>ITSAppUsesNonExemptEncryption</key><::NON_ENCRYPTION:: />::end::
::if (IOS_NON_EXEMPT_ENCRYPTION != null)::<key>ITSAppUsesNonExemptEncryption</key><::IOS_NON_EXEMPT_ENCRYPTION:: />::end::
</dict>
</plist>

View File

@@ -42,6 +42,6 @@
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>
::if (NON_ENCRYPTION != null)::<key>ITSAppUsesNonExemptEncryption</key><::NON_ENCRYPTION:: />::end::
::if (IOS_NON_EXEMPT_ENCRYPTION != null)::<key>ITSAppUsesNonExemptEncryption</key><::IOS_NON_EXEMPT_ENCRYPTION:: />::end::
</dict>
</plist>