Advertisement
Guest User

Untitled

a guest
Aug 5th, 2019
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.04 KB | None | 0 0
  1. --
  2. -- For more information on build.settings see the Corona SDK Build Guide at:
  3. -- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html
  4. --
  5.  
  6. settings = {
  7. splashScreen = {
  8. enable = false
  9. },
  10.  
  11. orientation = {
  12. default = "landscapeRight",
  13. supported = {"landscapeLeft", "landscapeRight"}
  14. },
  15.  
  16. excludeFiles = {
  17. -- Include only the necessary icon files on each platform
  18. iphone = { "Icon-*dpi.png", },
  19. android = { "Icon.png", "Icon-Small-*.png", "Icon*@2x.png", },
  20. },
  21.  
  22. --
  23. -- iOS Section
  24. --
  25. iphone = {
  26. xcassets = "Images.xcassets",
  27. plist = {
  28. ITSAppUsesNonExemptEncryption = false,
  29. NSPhotoLibraryUsageDescription = "Die App würde gerne auf deine Fotos zugreifen.",
  30. NSPhotoLibraryAddUsageDescription = "Die App speichert Screenshots in Deiner Foto App.",
  31. NSCameraUsageDescription = "Not used by this app",
  32. NSCalendarsUsageDescription = "Not used by this app",
  33. UIStatusBarHidden = false,
  34. UIPrerenderedIcon = true, -- set to false for "shine" overlay
  35. CFBundleDisplayName = "XXXXXXX",
  36. CFBundleName = "XXXXXXX",
  37. CoronaUseIOS7IPadPhotoPickerLandscapeOnlyWorkaround = true,
  38. CoronaUseIOS6IPadPhotoPickerLandscapeOnlyWorkaround = true,
  39. CoronaUseIOS7LandscapeOnlyWorkaround = true,
  40. CoronaUseIOS6LandscapeOnlyWorkaround = true,
  41. MinimumOSVersion = "8.0", -- Comment out when testing on Xcode simulator
  42. UILaunchStoryboardName = "LaunchScreen",
  43.  
  44. UILaunchImages = {
  45. { --iPhone 4 Portait
  46. ["UILaunchImageMinimumOSVersion"] = "7.0",
  47. ["UILaunchImageName"] = "Default",
  48. ["UILaunchImageOrientation"] = "Portrait",
  49. ["UILaunchImageSize"] = "{320, 480}"
  50. },
  51. { --iPhone 5 Portait
  52. ["UILaunchImageMinimumOSVersion"] = "7.0",
  53. ["UILaunchImageName"] = "Default-568h",
  54. ["UILaunchImageOrientation"] = "Portrait",
  55. ["UILaunchImageSize"] = "{320, 568}"
  56. },
  57. { -- iPad / iPad Retina Landscape Right
  58. ["UILaunchImageMinimumOSVersion"] = "7.0",
  59. ["UILaunchImageName"] = "Default-Landscape",
  60. ["UILaunchImageOrientation"] = "LandscapeRight",
  61. ["UILaunchImageSize"] = "{768, 1024}"
  62. },
  63. { -- iPad / iPad Retina Landscape Left
  64. ["UILaunchImageMinimumOSVersion"] = "7.0",
  65. ["UILaunchImageName"] = "Default-Portrait",
  66. ["UILaunchImageOrientation"] = "LandscapeLeft",
  67. ["UILaunchImageSize"] = "{768, 1024}"
  68. },
  69. { --iPhone 6 Landscape Right
  70. ["UILaunchImageMinimumOSVersion"] = "8.0",
  71. ["UILaunchImageName"] = "Default-667h",
  72. ["UILaunchImageOrientation"] = "LandscapeRight",
  73. ["UILaunchImageSize"] = "{375, 667}"
  74. },
  75. { --iPhone 6 Landscape Left
  76. ["UILaunchImageMinimumOSVersion"] = "8.0",
  77. ["UILaunchImageName"] = "Default-667h",
  78. ["UILaunchImageOrientation"] = "LandscapeLeft",
  79. ["UILaunchImageSize"] = "{375, 667}"
  80. },
  81. { -- iPhone 6 Plus Landscape Right
  82. ["UILaunchImageMinimumOSVersion"] = "8.0",
  83. ["UILaunchImageName"] = "Default-736h",
  84. ["UILaunchImageOrientation"] = "LandscapeRight",
  85. ["UILaunchImageSize"] = "{414, 736}"
  86. },
  87. { -- iPhone 6 Plus Landscape Left
  88. ["UILaunchImageMinimumOSVersion"] = "8.0",
  89. ["UILaunchImageName"] = "Default-736h",
  90. ["UILaunchImageOrientation"] = "LandscapeLeft",
  91. ["UILaunchImageSize"] = "{414, 736}"
  92. },
  93. { -- iPad Pro Landscape Right
  94. ["UILaunchImageMinimumOSVersion"] = "9.0",
  95. ["UILaunchImageName"] = "Default-Landscape-1366",
  96. ["UILaunchImageOrientation"] = "LandscapeRight",
  97. ["UILaunchImageSize"] = "{1024, 1366}"
  98. },
  99. { -- iPad Pro Landscape Left
  100. ["UILaunchImageMinimumOSVersion"] = "9.0",
  101. ["UILaunchImageName"] = "Default-Landscape-1366",
  102. ["UILaunchImageOrientation"] = "LandscapeLeft",
  103. ["UILaunchImageSize"] = "{1024, 1366}"
  104. },
  105. { -- iPhone X Landscape Right
  106. ["UILaunchImageMinimumOSVersion"] = "11.0",
  107. ["UILaunchImageName"] = "Default-Landscape-2436",
  108. ["UILaunchImageOrientation"] = "LandscapeRight",
  109. ["UILaunchImageSize"] = "{1125, 2436}"
  110. },
  111. { -- iPhone X Landscape Left
  112. ["UILaunchImageMinimumOSVersion"] = "11.0",
  113. ["UILaunchImageName"] = "Default-Landscape-2436",
  114. ["UILaunchImageOrientation"] = "LandscapeLeft",
  115. ["UILaunchImageSize"] = "{1125, 2436}"
  116. },
  117. },
  118. CFBundleLocalizations = {
  119. "de", --German
  120. },
  121.  
  122. --[[
  123. -- iOS app URL schemes:
  124. CFBundleURLTypes = {
  125. {
  126. CFBundleURLSchemes = {
  127. "fbXXXXXXXXX", -- replace XXXXXXXXX with your Facebook appId
  128. }
  129. }
  130. }
  131. --]]
  132. }
  133. },
  134.  
  135. --
  136. -- Android Section
  137. --
  138. android = {
  139. minSdkVersion = "21",
  140. usesExpansionFile = true,
  141. usesPermissions = {
  142. "android.permission.INTERNET",
  143. "com.android.vending.CHECK_LICENSE",
  144. "android.permission.WRITE_EXTERNAL_STORAGE"
  145. },
  146. },
  147.  
  148. --
  149. -- Plugin Section
  150. --
  151. plugins = {
  152. -- key is the name passed to Lua's 'require()'
  153. ["CoronaProvider.native.popup.social"] = {
  154. -- required
  155. publisherId = "com.coronalabs",
  156. },
  157. },
  158. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement