Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Supported values for orientation:
- -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
- settings = {
- orientation = {
- default = "portrait",
- supported = { "portrait" }
- },
- plugins =
- {
- -- share native popup
- ["CoronaProvider.native.popup.social"] =
- {
- publisherId = "com.coronalabs"
- },
- -- facebook api, invite frds, etc
- ["plugin.facebook.v4"] =
- {
- publisherId = "com.coronalabs"
- },
- -- corona allow notifications
- ["plugin.notifications"] =
- {
- publisherId = "com.coronalabs",
- },
- -- push notification provider
- ["plugin.OneSignal"] =
- {
- publisherId = "com.onesignal",
- },
- -- used by OneSignal, googles push infrastructure
- ["plugin.google.play.services"] =
- {
- publisherId = "com.coronalabs",
- supportedPlatforms = { android=true, ["android-kindle"]=true },
- },
- ["plugin.fbAudienceNetwork"] =
- {
- publisherId = "com.coronalabs"
- },
- },
- iphone =
- {
- xcassets = "Images.xcassets",
- plist =
- {
- UILaunchStoryboardName = "LaunchScreen",
- UIBackgroundModes = {"remote-notification"},
- UIStatusBarHidden = false,
- UIPrerenderedIcon = true, -- set to false for "shine" overlay
- -- this setting must be false, because various plugins
- -- put suspend the app while they do their business
- -- then resume the app
- --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend
- --facebookAppId ="1653606661523982", -- TEST
- FacebookAppID = "1632919333592715",
- -- iOS app URL schemes:
- -- basically these are ways of invoking an app using a url
- -- and can therefore be used to pass control between apps
- CFBundleURLTypes =
- {
- {
- CFBundleURLSchemes =
- {
- --facebookAppId ="fb1653606661523982", -- TEST
- "fb1632919333592715", -- example scheme for facebook
- --"coronasdkapp", -- example second scheme
- }
- }
- },
- -- Whitelist Facebook Servers for Network Requests
- NSAppTransportSecurity =
- {
- NSExceptionDomains =
- {
- ["prographo.co.uk"] =
- {
- NSIncludesSubdomains = true,
- NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
- },
- ["fbcdn.net"] =
- {
- NSIncludesSubdomains = true,
- NSExceptionRequiresForwardSecrecy = false,
- },
- ["facebook.com"] =
- {
- NSIncludesSubdomains = true,
- NSExceptionRequiresForwardSecrecy = false,
- },
- ["akamaihd.net"] =
- {
- NSIncludesSubdomains = true,
- NSExceptionRequiresForwardSecrecy = false,
- },
- },
- },
- -- Whitelist Facebook Apps
- LSApplicationQueriesSchemes =
- {
- "fb",
- "fbapi20130214",
- "fbapi20130410",
- "fbapi20140410",
- "fbapi20140116",
- "fbapi20150313",
- "fbapi20150629",
- "fbauth",
- "fbauth2",
- "fb-messenger-api20140430",
- },
- }
- },
- android =
- {
- facebookAppId = "1632919333592715",
- --facebookAppId ="1653606661523982", -- TEST
- permissions =
- {
- { name = ".permission.C2D_MESSAGE", protectionLevel = "signature" },
- },
- usesPermissions =
- {
- "android.permission.INTERNET",
- "android.permission.GET_ACCOUNTS",
- "android.permission.RECEIVE_BOOT_COMPLETED",
- "com.google.android.c2dm.permission.RECEIVE",
- ".permission.C2D_MESSAGE",
- },
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement