Titanium

GA Release of Titanium SDK 7.0.0 (+Hyperloop), CLI 7.0.0, & Appcelerator Studio 5.0.0

Today, we published General Availability releases of Axway Titanium SDK – now bundled with Hyperloop, Axway Appcelerator CLI, and Axway Appcelerator Studio. This is a major release with 22 new features, 41 improvements, 105 bug fixes, and 27 API changes. For a more detailed overview, known issues and closed tickets, see the release notes:

We’d like to thank the following community members who contributed to this release as well as those who have tested the beta and RC versions:

  • Luc-Edmond Gaspard for TIMOB-25382 – Android: Wrong thread error in DrawerLayout when not running on main thread
  • David van de Meer for TIMOB-23645 – Android notification: allow to set color of background
  • Sergey Volkov for TIMOB-25051 – Android. persistentObjects leak
  • Michael Gangolf for TIMOB-24963 – Android: Add scrollToTop() to ScrollView, TIMOB-17340 – TiAPI: Text – Add lineHeight property to Ti.UI.Label and Ti.Ui.TextArea, TIMOB-24426 – Remove “Alert” title from alert()
  • Brian G Galvez for TIMOB-24327 – iOS: Implement AllowsMultipleSelectionWhenEditing and getSelectedRow in ListView

Noteworthy Changes

As mentioned with the SDK 7.0.0 Beta and RC releases, Hyperloop modules are now shipped with the Titanium SDK! That means you will get the latest version (currently 3.0.1) of Hyperloop with the SDK going forward. Previously, Hyperloop was distributed as a separate module. Users had to go through additional steps to install and use Hyperloop. Making Hyperloop part of the core SDK will eliminate these restrictions and improve user experience.

Introducing the Appcelerator Daemon. The Daemon is a node.js server running in the background providing an API for future tooling feature and performance improvements. The Daemon provides a new plugin system for greater extensibility. Look for exciting new updates to the Daemon as we add features throughout 2018.

We know that devs can be particular about their IDEs, so we now have an Atom package that helps you develop Titanium apps more efficiently in the Atom IDE. Special thanks to Jong Eun Lee for allowing us to leverage his work on a package for Atom. The package gives you handy features, such as:

  • Build tools to allow targeting devices and platforms for Titanium project builds including custom run command executions
  • Code signing and keystore configuration for iOS and Android
  • Titanium Alloy component generator to create Controllers, Views, Styles, Models, and Widgets
  • Auto-completion of Titanium APIs and Alloy markup
  • Jump-to-definition to find the definition of the function in just one click

Google Play Services implementation has been improved by removing the library from Appcelerator-provided modules and providing a ti.playservices module for a single and easier implementation. No longer will users be required to keep modules that use Google Play Services in sync to avoid dexer errors. We are including our Google Play Services module and providing updated versions of our other modules such as ti.map, ti.cloudpush and ti.admob. Users simply need to include ti.playservices module as a dependency in their own module’s timodule.xml to make use of this new design. For more info, see an example on Github.

As part of our continued commitment to improve Android support, we have included the following features for Android:

  • ARM64 support on Android. Titanium SDK has been compiled to provide native support for Android ARM 64-bit devices. Native Android modules compiled with SDK 7.0.0 will support ARM64 (arm64-v8a). To update your native modules, read our Android 64 Bit Migration docs.
  • Android notification channel support for Android O.
  • Custom Quick Settings tiles support for Android N.
  • V8 Engine update to 6.2 for better performance with TurboFan, Ignition and debugging protocol updates.
  • Java 7 support for native modules.
  • Support for Android NDK r16.

Update Titanium SDK

Studio users will be prompted to update the SDK.

To update the Titanium SDK from the command line:

[appc] ti sdk install latest

Reminder for Windows Users: If you use Hyperloop, Hyperloop 2.1.2 or later is required for Windows users who use SDK 6.1.1 and above.

Update Axway Appcelerator CLI

Studio users will be prompted to update the CLI.

To update the CLI from the command line:

[sudo] npm install -g appcelerator
appc use latest

Update Axway Appcelerator Studio

Studio users will be prompted to update Studio.

To update Studio manually, launch Studio and choose the menu item Help>Check for Axway Appcelerator updates.

Report bugs

If you run into any issues that seem related to the updates, please report them on JIRA.

First, check if it’s a known issue you can watch. If you can’t find an existing ticket, then create one in the
Appcelerator Community (AC) project and add as much relevant information as you can, including the release version you are using.

You can leave general comments as a reply to this blog post.