Apparently, Corona has created the first-ever build.settings switch which prevents us from creating Builds, one after another, without first having to change the build.settings code if you have different Splash Screen settings for different platforms. Of course, I believe this was a terrible oversight when they hastily added it in.
For example, I have to switch out these two lines depending upon what platform I’m creating a build for. In this case, the iOS version is commented out while the Android code is in.
settings = { -- splashScreen = { enable = false }, -- for iOS splashScreen = { enable = true, image = "Default-Landscape.png"}, -- for Android
We really need a conditional build feature, anyway. I have 59 places in my game App where I’m comparing the platform to determine what code to run. I don’t mind this so much because the identical Lua code runs on all devices.
However, having this in build.settings prevents us from having an “if-then-else” statement.
Can Corona or anyone else help with this? Or is this a major inconvenience we need to add to my daily work?