This is the code:
-- -- For more information on build.settings see the Corona SDK Build Guide at: -- https://docs.coronalabs.com/guide/distribution/buildSettings -- settings = { splashScreen = { enable = false, -- image = "splash.png" }, orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, excludeFiles = { -- Include only the necessary icon files on each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, -- iphone = { "Icon-\*dpi.png", }, -- android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, -- -- iOS Section -- iphone = { xcassets = "Images.xcassets", plist = { -- Importante para poder hacer request de sitios no seguros NSAppTransportSecurity = { NSExceptionDomains = { ["gym.masdedos.es"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true, }, ["ufit365.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true, }, ["panel.upro365.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true, }, ["panel.ufit365.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true, }, ["panel.uwork365.es"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true, }, }, }, UIBackgroundModes = {"remote-notification"}, -- Agregado por OneSignal UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", --UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = false, --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend NSLocationWhenInUseUsageDescription = "A description of why the app needs access to location services.", }, }, -- -- Android Section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.CALL\_PHONE", -- \*\*\*\*\*\*\*\*\*\*\*\*\* SÓLO PARA UWORK (Comentar en otro caso) \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* -- Permission to retrieve current location from the GPS "android.permission.ACCESS\_FINE\_LOCATION", -- Permission to retrieve current location from WiFi or cellular service "android.permission.ACCESS\_COARSE\_LOCATION", -- \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* }, usesFeatures = { -- \*\*\*\*\*\*\*\*\*\*\*\*\* SÓLO PARA UWORK (Comentar en otro caso) \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* -- If you set permissions "ACCESS\_FINE\_LOCATION" and "ACCESS\_COARSE\_LOCATION" above, -- you may want to set up your app to not require location services as follows. -- Otherwise, devices that do not have location sevices (such as a GPS) will be unable -- to purchase this app in the app store. { name = "android.hardware.location", required = false }, { name = "android.hardware.location.gps", required = false }, { name = "android.hardware.location.network", required = false } -- \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* }, }, -- -- Plugins -- plugins = { ["plugin.OneSignal"] = -- Agregado por OneSignal { publisherId = "com.onesignal", }, -- Omit if you're using 'plugin.googleAnalytics' -- ["plugin.google.play.services"] = -- Agregado por OneSignal -- { -- publisherId = "com.coronalabs", -- supportedPlatforms = { android=true, ["android-kindle"]=true }, -- }, -- Plugin para previsualizar pdfs y demás documentos ["CoronaProvider.native.popup.quickLook"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, -- Plugin para mostrar el desplegable de redes sociales en las que compartir algo en Android. ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, -- Plugin para mostrar el pop up de redes sociales en las que compartir algo en iOS. ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, -- Notificaciones locales -- ["plugin.notifications.v2"] = -- { -- publisherId = "com.coronalabs" -- }, }, }