Release Notes (Build 2016.2992)

This document describes the changes to Corona Labs' suite of products, including the Corona Simulator, CoronaCards, Corona Enterprise, and device builds for iOS, tvOS, Android, and Windows Phone since 2016.2949.


What’s New in This Release

  • New "Welcome" screen for the Corona Simulator.
  • Continued improvements to the console log screen.
  • build.settings and config.lua keys and values are now validated.
  • widget.newPickerWheel() is now resizable.
  • Changes to support iOS 10, macOS 10.12, tvOS 10 and Xcode 8.
  • Windows desktop apps are now single instance by default.
  • Android improvements for native.newVideo() and media.playVideo().
  • New Enterprise APIs for Android AlertDialog Builders.
  • Miscellaneous bug fixes for all platforms.

Please note the following

  • The macOS Simulator requires macOS 10.10 or later.
  • For iOS builds (macOS), requires Xcode 8.1 or later. Note: Xcode version must match the iOS build. See more here.
  • Requires a modern graphics card that supports OpenGL 2.1 and higher.
  • For iOS the minimum version supported is 6.0.
  • For Android the minimum version supported is 2.3.3.

New Features and Bug fixes

  • Android: Added new Enterprise APIs to create AlertDialog.Builders using Light or Dark versions of the device default theme if possible, CoronaActivity.createDarkAlertDialogBuilder() and CoronaActivity.createLightAlertDialogBuilder().
  • Android: Fixed an issue where calling native.setActivityIndicator(false) would be ignored if called immediately after native.setActivityIndicator(false); Casenum 22863
  • Android: Fixed bug where height of multiline text objects were taller than they should have been. (Each line wrongfully added extra vertical padding to bottom of object.)
  • Android: Fixed bug where native.newVideo() would restart the video when resized.
  • Android: Fixed bug where paused native.newVideo() objects would starting playing after a suspend/resume. (Now remembers its last state.)
  • Android: Fixed media.playVideo() to not restart its video when an Android TV remote control loses power.
  • Android: Fixed possible NPE when using network.request() introduced in daily build 2016.2914, casenum 6003854
  • Android: Modified media.playVideo() to automatically resume playback if previously playing when returning from the screen lock. (Used to always be put in the paused state.)
  • Android: Modified media.playVideo() to show a black background around a letterboxed video instead of the default gray gradient background.
  • Android: Modified media.playVideo() to show a loading indicator while video is loading/buffering.
  • Android: Modified native.newVideo() to center the video within the object like iOS. (Was top-left aligning the video.) casenum: 45545
  • Android: fix issue which caused problems if a custom splash screen was exactly the same dimensions as the device screen (also ensure that we only ever scale an image down, never up)
  • Android: native.newVideo() and media.playVideo() now supports streaming video from servers that do not support HTTP range requests without an upper bound. (Used to display “Can’t play the video”.)
  • Android: Updated App Template and Samples to use Android Gradle Plugin 2.2.2 to bypass "Update Project" screen that hangs Android Studio with Corona projects.
  • Android: Skip splash screen on Android devices with 32MB or less available memory. Resize the splash screen in a way that should be more robust.
  • Core: Fixed bug where calling on/off SwitchWidget's setState() function would display the opposite image when using an Android theme. (Visual issue only. "isOn" property returned correct value.)
  • Core: Fixed bug where widget.newSwitch() "top" and "left" parameters were positioning the widget wrong for Android and iOS 6 themed on/off switches. (Was offsetted too far to the right.)
  • Core: add 'platform' option to system.getInfo() which returns simple tags for each platform (macos, win32, android, ios, tvos, winphone)
  • Enterprise: Fix issue which caused Android builds to default to showing a splash screen
  • Ignore android-javadoc-build_template_cards.log
  • Widgets: Ensure "stopped" event is not triggered if user "intercepts" bounce-back with another touch
  • Windows: "system" events of type "applicationOpen" now provide new properties "commandLineArgs" and "commandLineDir" for single instance Win32 apps.
  • Windows: Added new win32 "build.settings" option "singleInstance". Set true allow 1 only instance of the app to exist at a time. Set false for multiple instances.
  • Windows: Fixed issue with logging window where last printed entry from a Win32 desktop app does not always gets logged.
  • Windows: Launch arguments "..." for Win32 desktop apps now provides a "url" property if the EXE was given a command line argument containing a URL or an absolute path to a file or directory.
  • Windows: Modified Corona Simulator's welcome window to use the system's DPI scale factor set under "Display Settings".
  • Windows: Removed VC++ v9.0 DLLs from "Corona SDK" install program. No longer used.
  • Windows: Simulator's welcome window now shows a handle cursor when mousing over clickable links like the Mac version.
  • Windows: When clicking "Run the App" after doing a Win32 build, Corona will now reuse the last logging window referencing that Win32 app instead of spawning a new window.
  • Windows: [Breaking Change] Win32 desktop apps are now single instance by default like Mac apps. (To enable multi-instance support, set new win32 "build.settings" option "singleInstance" to false.)
  • iOS, Android: allow per-platform splashScreen control
  • iOS, tvOS: fixed issue where codesigning would sometimes fail due to "resource fork, Finder information, or similar detritus not allowed"
  • iOS, tvOS: reduce build log noise by printing a summary of files copied/excluded
  • iOS: Fix issue which caused magenta borders when displaying the Corona splash screen in the Xcode iOS Simulator
  • iOS: Fixing crash when using Corona Viewer
  • iOS: fix issue where splash screen didn't go all the way to the edge of the screen.
  • iOS: platformName now reports "iPhone OS" on iOS 10 as well
  • iOS: Supply empty defaults for iOS "usage description" plist entries to prevent app crashes
  • macOS, Windows: logically validate build.settings and config.lua when project is loaded in Simulator
  • macOS, Windows: new look Welcome screen
  • macOS/iOS/tvOS: Updated target to Xcode 8.1 with iOS 10.1/tvOS 10.0 templates.
  • macOS: Fix issue where multiple arguments to a macOS Desktop app could be problematic
  • macOS: Fix issue with running apps in the Xcode 8 version of the Xcode iOS Simulator
  • macOS: Improve reliability of Simulator's device syslog for older versions of iOS
  • macOS: Move the current version of macOS supported by the Simulator to 10.12 now that Sierra has been released
  • macOS: fix issue which made native display objects invisible in macOS 10.12
  • macOS: fix issue with iOS builds and 'Copy to device' for some installations
  • macOS: fix issues with Default-568h@2x.png files being overridden and iOS builds of apps with Unicode characters in their names on macOS 10.12
  • macOS: fixing inability to keep Simulator icon in Dock on macOS 10.12.1
  • tvOS: Added wide top shelf image support through the topShelfImageWide key in build.settings. These images must be 2320x720. Fixed/removed unused gamepad profile for generic controllers.