Good questions.
I have done something to turn off error trapping? NO
Am I using a global variable called “debug”? NO, but I’m using Lua Glider 2.0, which when I startup Corona Simulator, does insert a line 1 in main.lua adding require “Cider.debugger”
Here is my current build.settings file (some things modified for privacy):
settings = {
orientation =
{
default = “landscapeRight”,
content = “landscapeRight”,
supported = { “landscapeLeft”, “landscapeRight”},
},
android = {
largeHeap = true, --only good for Android version 3.x according to Wilson Wan
googlePlayGamesAppId = “xxxx”,
versionCode = “6”,
versionName = “0.982”,
facebookAppId = “xxxx”,
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”,
“android.permission.READ_PHONE_STATE”,
“android.permission.ACCESS_NETWORK_STATE”,
“android.permission.ACCESS_WIFI_STATE”, --“this seems to remove ERROR: Not trusted server certificate”
– “android.permission.VIBRATE”,
– “android.permission.ACCESS_FINE_LOCATION”,
– “android.permission.ACCESS_COARSE_LOCATION”
“com.android.vending.BILLING”, – for in app purchase for Google Play
“com.android.vending.CHECK_LICENSE”, – for in app purchase for Google Play
},
},
plugins = {
[“plugin.facebook.v4”] =
{
publisherId = “com.coronalabs”
},
[“plugin.notifications”] =
{
publisherId = “com.coronalabs”
},
– [“CoronaProvider.gameNetwork.apple”] =
– {
– publisherId = “com.coronalabs”,
– supportedPlatforms = { iphone=true, [“iphone-sim”]=true },
– },
– [“CoronaProvider.gameNetwork.google”] =
– {
– publisherId = “com.coronalabs”,
– supportedPlatforms = { android=true },
– },
– [“plugin.google.play.services”] =
– {
– publisherId = “com.coronalabs”,
– supportedPlatforms = { android=true, [“android-kindle”]=true },
– },
[“CoronaProvider.native.popup.safariView”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, [“iphone-sim”]=true }
},
[“plugin.google.iap.v3”] =
{
– required
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true }
},
},
iphone = {
plist = {
ITSAppUsesNonExemptEncryption=false,
UIApplicationExistsOnSuspend = false,
CFBundleDisplayName = “PlayBible”,
CFBundleName = “PlayBible”,
CFBundleShortVersionString = “0.98”,
FacebookAppID=“xxxx”,
CFBundleURLTypes =
{ {
CFBundleURLSchemes = {“fbxxxx”,}
} },
[“URL types”] =
{
item =
{
[“URL Schemes”] = { [“Item 0”] = “fbxxxx” },
},
},
NSAppTransportSecurity =
{
NSExceptionDomains =
{
[“facebook.com”] =
{
NSIncludesSubdomains = true,
NSThirdPartyExceptionRequiresForwardSecrecy = false
},
[“fbcdn.net”] =
{
NSIncludesSubdomains = true,
NSThirdPartyExceptionRequiresForwardSecrecy = false
},
[“akamaihd.net”] =
{
NSIncludesSubdomains = true,
NSThirdPartyExceptionRequiresForwardSecrecy = false
},
[“xxxx.org”] =
{
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
[“xxxx.com”] =
{
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
[“coronalabs.com”] =
{
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
[“xxxx.org”] =
{
NSIncludesSubdomains = true,
NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
},
},
},
– Whitelist Facebook Apps
LSApplicationQueriesSchemes =
{
“fb”,
“fbapixxxx”,
“fbapixxxx”,
“fbapixxxx”, --fb
“fbapixxxx”, --fb
“fbapixxxx”, --fb
“fbapixxxx”,
“fbapixxxx”,
“fbapixxxx”,
“fbapixxxx”,
“fbauth”,
“fbauth2”,
“fb-messenger-apixxxx”
},
UIBackgroundModes = {“remote-notification”},
UIAppFonts = {
“Gabriola.ttf”,
“Chivo-BlackItalic.ttf”,
“ErasITC-Medium.ttf”,
“KottaOne-Regular.ttf”,
“LithosPro-Black.ttf”,
“SegoePrint.ttf”,
“PoetsenOne-Regular.ttf”,
“Georgia.ttf”,
“Quivira.ttf”,
“Punjabi.ttf”,
“Noto Sans Myanmar.ttf”,
“Norasi.ttf”,
“Loma.ttf”,
“Lohit Telugu.ttf”,
“Lohit Nepali.ttf”,
“Lohit Odia.ttf”,
“Lohit Tamil.ttf”,
“Lohit Marathi.ttf”,
“Lohit Devanagari.ttf”,
“Lohit Bengali.ttf”,
“Kruti Dev 730.ttf”,
“Kinnari.ttf”,
“Garuda.ttf”,
“Casy EA.ttf”,
“Braila.ttf”,
“AGNI.ttf”
},
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-Small-40@3x.png”,
“Icon-120.png”,
“Icon-152.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
“Icon-60@3x.png”,
“Icon-72.png”,
“Icon-72@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small@3x.png”
},
},
},
window = {
defaultMode = “fullscreen”,
defaultViewWidth = 1920,
defaultViewHeight = 1080,
resizeable = true,
minViewWidth = 320,
minViewHeight = 480,
enableCloseButton = true,
enableMinimizeButton = true,
enableMaximizeButton = true,
suspendWhenMinimized = true,
titleText = {
default = “xxxx”,
},
},
osx =
{
budleResourcesDirectory = “osx-resources”,
entitlements = {
[“com.apple.security.personal-information.location”]=true,
},
plist = {
NSHumanReadableCopyright = “Copyright 2016 by xxxx, Inc.”,
ITSAppUsesNonExemptEncryption=false
},
}
}