Advertisement
Guest User

Untitled

a guest
Nov 10th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | None | 0 0
  1. -- Supported values for orientation:
  2. -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
  3.  
  4. settings = {
  5.  
  6. orientation = {
  7. default = "portrait",
  8. supported = { "portrait" }
  9. },
  10.  
  11. plugins =
  12. {
  13. -- share native popup
  14. ["CoronaProvider.native.popup.social"] =
  15. {
  16. publisherId = "com.coronalabs"
  17. },
  18.  
  19. -- facebook api, invite frds, etc
  20. ["plugin.facebook.v4"] =
  21. {
  22. publisherId = "com.coronalabs"
  23. },
  24.  
  25. -- corona allow notifications
  26. ["plugin.notifications"] =
  27. {
  28. publisherId = "com.coronalabs",
  29. },
  30.  
  31. -- push notification provider
  32. ["plugin.OneSignal"] =
  33. {
  34. publisherId = "com.onesignal",
  35. },
  36.  
  37. -- used by OneSignal, googles push infrastructure
  38. ["plugin.google.play.services"] =
  39. {
  40. publisherId = "com.coronalabs",
  41. supportedPlatforms = { android=true, ["android-kindle"]=true },
  42. },
  43.  
  44. ["plugin.fbAudienceNetwork"] =
  45. {
  46. publisherId = "com.coronalabs"
  47. },
  48. },
  49.  
  50. iphone =
  51. {
  52. xcassets = "Images.xcassets",
  53.  
  54. plist =
  55. {
  56.  
  57. UILaunchStoryboardName = "LaunchScreen",
  58.  
  59. UIBackgroundModes = {"remote-notification"},
  60. UIStatusBarHidden = false,
  61. UIPrerenderedIcon = true, -- set to false for "shine" overlay
  62.  
  63. -- this setting must be false, because various plugins
  64. -- put suspend the app while they do their business
  65. -- then resume the app
  66. --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend
  67.  
  68. --facebookAppId ="1653606661523982", -- TEST
  69. FacebookAppID = "1632919333592715",
  70.  
  71. -- iOS app URL schemes:
  72. -- basically these are ways of invoking an app using a url
  73. -- and can therefore be used to pass control between apps
  74. CFBundleURLTypes =
  75. {
  76. {
  77. CFBundleURLSchemes =
  78. {
  79. --facebookAppId ="fb1653606661523982", -- TEST
  80. "fb1632919333592715", -- example scheme for facebook
  81. --"coronasdkapp", -- example second scheme
  82. }
  83. }
  84. },
  85.  
  86.  
  87. -- Whitelist Facebook Servers for Network Requests
  88. NSAppTransportSecurity =
  89. {
  90. NSExceptionDomains =
  91. {
  92. ["prographo.co.uk"] =
  93. {
  94. NSIncludesSubdomains = true,
  95. NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
  96. },
  97.  
  98. ["fbcdn.net"] =
  99. {
  100. NSIncludesSubdomains = true,
  101. NSExceptionRequiresForwardSecrecy = false,
  102. },
  103. ["facebook.com"] =
  104. {
  105. NSIncludesSubdomains = true,
  106. NSExceptionRequiresForwardSecrecy = false,
  107. },
  108. ["akamaihd.net"] =
  109. {
  110. NSIncludesSubdomains = true,
  111. NSExceptionRequiresForwardSecrecy = false,
  112. },
  113. },
  114. },
  115.  
  116. -- Whitelist Facebook Apps
  117. LSApplicationQueriesSchemes =
  118. {
  119. "fb",
  120. "fbapi20130214",
  121. "fbapi20130410",
  122. "fbapi20140410",
  123. "fbapi20140116",
  124. "fbapi20150313",
  125. "fbapi20150629",
  126. "fbauth",
  127. "fbauth2",
  128. "fb-messenger-api20140430",
  129. },
  130. }
  131. },
  132.  
  133. android =
  134. {
  135. facebookAppId = "1632919333592715",
  136. --facebookAppId ="1653606661523982", -- TEST
  137.  
  138. permissions =
  139. {
  140. { name = ".permission.C2D_MESSAGE", protectionLevel = "signature" },
  141. },
  142.  
  143. usesPermissions =
  144. {
  145. "android.permission.INTERNET",
  146. "android.permission.GET_ACCOUNTS",
  147. "android.permission.RECEIVE_BOOT_COMPLETED",
  148. "com.google.android.c2dm.permission.RECEIVE",
  149. ".permission.C2D_MESSAGE",
  150. },
  151. },
  152.  
  153. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement