Titanium SDK/Studio 3.1.0 Beta Now Available

3d abstract architecture background

We’re very excited about our newest release of Titanium—version 3.1.0. Today we release a beta of both SDK and Titanium Studio—the newest version of our Titanium platform. This release focuses on performance. Not only are we introducing the successor to TableView in ListView, we’ve made the whole iOS and Android platform faster.

How much faster?

  • Our new component, ListView, is multiple times faster than TableView
  • On iOS, we have an average 20% performance gain from 3.0.0 for the entire platform
  • On Android, we have an average 36% performance gain from 3.0.0 for the entire platform

In short, your apps should run better and faster under 3.1.0. Read on below, and for full information, please see the release notes.

Note: This is a beta release, and as such may contain regressions or other issues. Please do not use it in production, and keep backups of all important projects and data. We will follow with additional releases in the coming weeks. If you find an issue, please report it in JIRA with a reproducible test case.

How to Update

These are links to continuous integration builds. To install them, choose “Help Menu > Install Specific Titanium SDK…” from inside Titanium Studio.

To update Studio, please visit https://preview.appcelerator.com and follow the instructions to update to the RC stream, or to download a new install.

NPM Packages

Note: You may need to use ‘sudo’ before these terminal commands on OSX and Linux
npm install -g alloy@1.1.0-beta
npm install -g titanium-code-processor@1.0.0-beta
npm install -g titanium@3.1.0-beta
To revert back to stable versions:
npm remove -g titanium
npm install -g titanium
npm remove -g alloy
npm install -g alloy
npm remove -g titanium-code-processor
npm install -g titanium-code-processor

New Features in Titanium 3.1.0

The docs are all available at: https://docs.appcelerator.com/titanium/latest/

ListView

This release introduces ListView, a new Titanium proxy to replace the existing TableView. Both list view and table view present data to user as a vertically scrolling list of rows. However, list view uses a data-oriented approach versus table view’s view-oriented approach.

Alloy Updates

New collection binding functionality has been added. You can now also get Alloy content assist and debug Alloy applications inside Titanium Studio.

EventKit UI Framework

The iOS EventKit framework, allowing access to calendar events and reminders, is now available inside Titanium.

iOS6 Core Location AutoPause API

The iOS AutoPause API pauses the location updates when an application goes into the background. We’ve implemented access to this new API in Titanium.

iOS Retina simulator support

The iOS simulator now allows you to choose to launch in Retina mode on demand, rather than needing to switch the simulator manually.

A Slimmer Titanium Studio

We’ve been working on making Titanium Studio as lean as possible. One step we’ve taken is to break the server-side language plugins (PHP, Ruby and Python) into separate optional installs. If you need them, just follow the links at https://preview.appcelerator.com to add them back in.

New Platforms

BlackBerry

Our BlackBerry support will go into beta at the same time as 3.1.0 ships. Studio now supports creating projects as well as running them on simulator and device.

Tizen

Our newest platform, Tizen, is now a full member of the Titanium family. Use Tizen from inside Studio 3.1.0. Create projects and run on emulator and device.

New Modules

Facebook V3 (Android and iOS)

Our Facebook module is now updated to be compatible with the latest V3 version of the Facebook API. Download the updated beta module here: Android and iOS.

Google Maps V2 (Android)

As mentioned previously, we’ve updated our Android maps module to support Google Maps V2. Download the latest beta here.

Newsstand (iOS)

Publish a magazine or periodical! We’ve developed a new module for interfacing with Apple’s Newsstand service. Download the beta module here.

NFC (Android)

You can now read NFC (Near-Field Communication) tags from inside Titanium applications. Download the beta module here.

1 COMMENT

  1. This is really great news. An SDK update for performance!
    The new listView is fast. And im testing the new non UI threaded TiImageManager. a great performance boost idea!

    A small semi related question:
    When will Windows Phone 8 go into public alpha/beta ?

    cheers from a happy titan.

  2. Where can I find the option to launch in Retina mode?

    The iOS simulator is always launch in non-retina mode, although I closed/saved it the last time as retina device.

  3. Thanks a lot Michael, that really helps 😉

    Excited to test ListView … when can we expect the stable release of SDK 3.1? Just asking because I am planning to release a new app soon and I am considering to wait until 3.1 is final if this does not take too long.

  4. @Danny. It’s not gone through a complete testing cycle yet, so there could be regressions or other issues that haven’t yet been uncovered.

  5. There seems to be a (new) limit on the number of files imposed by the 3.1 build system. One of my projects has a data folder with a large number of files in it (~2200). <= 3.0.2 builds fine, but 3.1 beta gives throws an exception "Maximum call stack size exceeded."

    I've already got a zip/unzip mechanism in place for the db, so this isn't the end of the world, but could someone confirm this?

  6. @Nuno…it appears to be working for us. Can you try with a different computer or browser?

    • @Tim. Thanks. Can you comment on the ticket with your steps that reproduce the issue for you?

  7. What about Google Maps:

    Only works on Android devices. Not supported on the Android emulator.
    Requires Google Play to be installed.
    Requires Google Maps API key for both development and production.

    It’s only on the beta version? On the final version won’t be possible to test GoogleMaps on the emulator????

    • @Nacy…we’ve been using Google Maps on the emulator. Do you have a specific test case or steps we can follow?

  8. Hi Ingo,

    I don’t have any test case. That three sentences were taken from the beta release notes.

    (my name is “Nancy”, i’d misspelled it :P)