build.settings
-- -- For more information on build.settings, see the Project Build Settings guide at: -- https://docs.coronalabs.com/guide/distribution/buildSettings -- settings = { -- corona\_sdk\_simulator\_path = "/Applications/Corona-3238/Corona Simulator.app", -- Usando suspensión del splash de Corona splashScreen = { enable = false }, orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, -- -- Android section -- android = { largeHeap = true, -- más RAM para corregir el java.lang.OutOfMemory -- hardwareAccelerated = true, -- para corregir el java.lang.OutOfMemory quizá sea false -\> WARNING: unrecognized key -- coronaWindowMovesWhenKeyboardAppears = true, usesPermissions = { "android.permission.INTERNET", "android.permission.RECEIVE\_BOOT\_COMPLETED", -- Para que las notificaciones permanezcan si hay un reboot -- Camera "android.permission.CAMERA", "android.permission.WRITE\_EXTERNAL\_STORAGE", -- GPS -- 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 = { { name = "android.hardware.camera", required = true }, { name = "android.hardware.camera.front", required = false }, { name="android.hardware.location", required=false }, { name="android.hardware.location.gps", required=false }, }, }, -- -- iOS section -- iphone = { xcassets = "Images.xcassets", plist = { UIStatusBarHidden = false, --UIPrerenderedIcon = true, -- set to false for "shine" overlay NSCameraUsageDescription = "You must grant permission to access the camera or otherwise you can not report risks in this system", NSPhotoLibraryUsageDescription = "You must grant permissions to access the image or photos library of this device. Otherwise you will have limited functionality in this system..", UILaunchStoryboardName = "LaunchScreen", CoronaWindowMovesWhenKeyboardAppears = true, CFBundleVersion = "ALPHA 8.59", -- Versión para IOS --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend ITSAppUsesNonExemptEncryption = false, -- This sample doesn't use custom encryption (OJO!!!) --UIRequiredDeviceCapabilities = {"location-services", "gps", "magnetometer" }, --UIRequiredDeviceCapabilities = {"location-services", "gps" }, NSLocationWhenInUseUsageDescription = "You must grant permissions to access the location (GPS) of this device. Otherwise you will have limited functionality in this system.", }, }, -- -- Plugins section -- plugins = { ['plugin.toast'] = {publisherId = 'com.spiralcodestudio'}, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, ["plugin.chatterbox"] = { publisherId = "com.develephant" }, ["plugin.OneSignal"] = {publisherId = "com.onesignal"}, ["plugin.nanosvg"] = { publisherId = "com.coronalabs"}, ["plugin.imageCrop"] = { publisherId = "tech.scotth", }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }
screenshot before [build]:
