Titanium SDK 7.0.0.Beta - 17 November 2017

About this release

Titanium SDK 7.0.0.Beta is a major release of the SDK, addressing high-priority issues from previous releases. Highlights for this release include integration of Hyperloop in the SDK core and introduction of Appcelerator Daemon.

As of this release, Titanium SDK 6 .x will not be supported one calendar year from 7 .0.0.GA's release date. See  Axway Appcelerator Deprecation Policy  and  Nominal Lifetimes  documents for details.

Appcelerator Daemon

The Appcelerator Daemon is a server that runs on the developer's computer and hosts services which power the tooling for Axway products such as Titanium SDK. The Appcelerator Daemon aims to solve tooling issues by introducing a robust, flexible, and consistent foundation for implementing product tooling. It does this by providing plugins that define services which are exposed via the built-in web server to any HTTP, WebSocket, Node.js client, or shell script. The Appcelerator Daemon is designed to be highly decoupled. All product-specific logic is run inside a plugin while the Appcelerator Daemon provides core functionality to plugins such as file system watching and spawning subprocesses.

Notice of feature and behavior Changes 

New features 

Android platform

iOS platform

Windows platform

Multiple platforms

Community credits

We would like to thank the community for their assistance on the following tickets:

Fixed issues

Android

iOS

Windows

Multiple platforms

Improvements

Android

iOS

Windows

Multiple platforms

API changes

New APIs

The following APIs are new or have expanded platform support in release 7.0.0.

APITypeNotes
Titanium.Android.IMPORTANCE_DEFAULTproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_HIGHproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_LOWproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_MAXproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_MINproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_NONEproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_UNSPECIFIEDproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.Notification.colorproperty

Accent color used behind icon. (New API, supported on Android.)

Titanium.Android.Notification.getColormethod

Gets the value of the Titanium.Android.Notification.color property. (New API, supported on Android.)

Titanium.Android.Notification.setColormethod

Sets the value of the Titanium.Android.Notification.color property. (New API, supported on Android.)

Titanium.Android.NotificationChannelobject

Module for notification channels. (New API, supported on Android.)

Titanium.Android.QuickSettingsServiceobject

Android service for creating custom quick settings tiles and handling user's interaction with them. (New API, supported on Android.)

Titanium.Android.TILE_STATE_ACTIVEproperty

QuickSettings tile is active. (New API, supported on Android.)

Titanium.Android.TILE_STATE_INACTIVEproperty

QuickSettings tile is inactive. (New API, supported on Android.)

Titanium.Android.TILE_STATE_UNAVAILABLEproperty

QuickSettings tile is unavailble. (New API, supported on Android.)

Titanium.Media.VIDEO_SCALING_RESIZEproperty

Specifies that the video should be stretched to fill the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VIDEO_SCALING_RESIZE_ASPECTproperty

Specifies that the player should preserve the aspect ratio of video and fit the video within the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VIDEO_SCALING_RESIZE_ASPECT_FILLproperty

Specifies that the player should preserve the aspect ratio of video and fill the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VideoPlayer.getShowsControlsmethod

Gets the value of the Titanium.Media.VideoPlayer.showsControls property. (Added support for iPhone and iPad.)

Titanium.Media.VideoPlayer.setShowsControlsmethod

Sets the value of the Titanium.Media.VideoPlayer.showsControls property. (Added support for iPhone and iPad.)

Titanium.Media.VideoPlayer.showsControlsproperty

Whether or not the receiver shows playback controls. Default is true. (Added support for iPhone and iPad.)

Titanium.Platform.getIdentifierForAdvertisingmethod

Gets the value of the Titanium.Platform.identifierForAdvertising property. (New API, supported on iPhone and iPad.)

Titanium.Platform.getIdentifierForVendormethod

Gets the value of the Titanium.Platform.identifierForVendor property. (New API, supported on iPhone and iPad.)

Titanium.Platform.getIsAdvertisingTrackingEnabledmethod

Gets the value of the Titanium.Platform.isAdvertisingTrackingEnabled property. (New API, supported on iPhone and iPad.)

Titanium.Platform.identifierForAdvertisingproperty

An alphanumeric string unique to each device, used only for serving advertisements. (New API, supported on iPhone and iPad.)

Titanium.Platform.identifierForVendorproperty

An alphanumeric string that uniquely identifies a device to the app's vendor. (New API, supported on iPhone and iPad.)

Titanium.Platform.isAdvertisingTrackingEnabledproperty

A Boolean value that indicates whether the user has limited ad tracking. (New API, supported on iPhone and iPad.)

Titanium.Platform.setIdentifierForAdvertisingmethod

Sets the value of the Titanium.Platform.identifierForAdvertising property. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_BASELINE_OFFSETproperty

Use with Attribute.type to apply a different baseline to the text. (Added support for Android.)

Titanium.UI.AUTOFILL_TYPE_ADDRESSproperty

Specifies the expectation of an address. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_CITYproperty

Specifies the expectation of a city name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_CITY_STATEproperty

Specifies the expectation of a city name combined with a state name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_LINE1property

Specifies the expectation of the first line of a street address. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_LINE2property

Specifies the expectation of the second line of a street address. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_STATEproperty

Specifies the expectation of a state name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_DATEproperty

Specifies the expectation of a card expiration date. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_DAYproperty

Specifies the expectation of a card expiration day. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_MONTHproperty

Specifies the expectation of a card expiration month. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_YEARproperty

Specifies the expectation of a card expiration year. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_NUMBERproperty

Specifies the expectation of a card number. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_CARD_SECURITY_CODEproperty

Specifies the expectation of a card security code. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_COUNTRY_NAMEproperty

Specifies the expectation of a country name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_EMAILproperty

Specifies the expectation of an email address. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_FAMILY_NAMEproperty

Specifies the expectation of a family name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_GIVEN_NAMEproperty

Specifies the expectation of a given name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_JOB_TITLEproperty

Specifies the expectation of a job title. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_LOCATIONproperty

Specifies the expectation of a location, such as a point of interest, an address, or another way to identify a location. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_MIDDLE_NAMEproperty

Specifies the expectation of a middle name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NAMEproperty

Specifies the expectation of a name. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NAME_PREFIXproperty

Specifies the expectation of a prefix or title, such as 'Dr.' (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NAME_SUFFIXproperty

Specifies the expectation of a suffix, such as 'Jr.' (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NICKNAMEproperty

Specifies the expectation of a nickname. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ORGANIZATION_NAMEproperty

Specifies the expectation of an organization name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_PASSWORDproperty

Specifies the expectation of a password. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_PHONEproperty

Specifies the expectation of a telephone number. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_POSTAL_CODEproperty

Specifies the expectation of a postal code. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_SUBLOCALITYproperty

Specifies the expectation of a sublocality. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_URLproperty

Specifies the expectation of a URL. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_USERNAMEproperty

Specifies the expectation of an account or login name. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ListView.allowsMultipleSelectionDuringEditingproperty

Determines whether multiple items of this list view can be selected at the same time while editing the table. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getAllowsMultipleSelectionDuringEditingmethod

Gets the value of the Titanium.UI.ListView.allowsMultipleSelectionDuringEditing property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getSelectedItemsmethod

Gets the value of the Titanium.UI.ListView.selectedItems property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.selectedItemsproperty

Returns the selected list view items. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setAllowsMultipleSelectionDuringEditingmethod

Sets the value of the Titanium.UI.ListView.allowsMultipleSelectionDuringEditing property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setSelectedItemsmethod

Sets the value of the Titanium.UI.ListView.selectedItems property. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.getRefreshControlmethod

Gets the value of the Titanium.UI.ScrollView.refreshControl property. (Added support for Android.)

Titanium.UI.ScrollView.refreshControlproperty

View positioned above the first row that is only revealed when the user drags the scroll view contents down. (Added support for Android.)

Titanium.UI.ScrollView.scrollToTopmethod

Moves the top of the scrollable region into the viewable area. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ScrollView.setRefreshControlmethod

Sets the value of the Titanium.UI.ScrollView.refreshControl property. (Added support for Android.)

Titanium.UI.TextArea.autofillTypeproperty

Sets the autofill type for the text area. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextArea.getAutofillTypemethod

Gets the value of the Titanium.UI.TextArea.autofillType property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextArea.getHintTypemethod

Gets the value of the Titanium.UI.TextArea.hintType property. (New API, supported on Android.)

Titanium.UI.TextArea.hintTypeproperty

Hint type to display on the text field. (New API, supported on Android.)

Titanium.UI.TextArea.setAutofillTypemethod

Sets the value of the Titanium.UI.TextArea.autofillType property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextArea.setHintTypemethod

Sets the value of the Titanium.UI.TextArea.hintType property. (New API, supported on Android.)

Titanium.UI.TextField.autofillTypeproperty

Sets the autofill type for the text field. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextField.getAutofillTypemethod

Gets the value of the Titanium.UI.TextField.autofillType property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextField.getHintTypemethod

Gets the value of the Titanium.UI.TextField.hintType property. (New API, supported on Android.)

Titanium.UI.TextField.hintTypeproperty

Hint type to display on the text field. (New API, supported on Android.)

Titanium.UI.TextField.setAutofillTypemethod

Sets the value of the Titanium.UI.TextField.autofillType property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextField.setHintTypemethod

Sets the value of the Titanium.UI.TextField.hintType property. (New API, supported on Android.)

Titanium.UI.Window.extendSafeAreaproperty

Specifies whether the content (subviews) of the window will render inside the safe-area or not.Only used in iOS 11.0 and later. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getExtendSafeAreamethod

Gets the value of the Titanium.UI.Window.extendSafeArea property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getLargeTitleDisplayModemethod

Gets the value of the Titanium.UI.Window.largeTitleDisplayMode property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getLargeTitleEnabledmethod

Gets the value of the Titanium.UI.Window.largeTitleEnabled property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getSustainedPerformanceModemethod

Gets the value of the Titanium.UI.Window.sustainedPerformanceMode property. (New API, supported on Android.)

Titanium.UI.Window.largeTitleDisplayModeproperty

The mode to use when displaying the title of the navigation bar. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.largeTitleEnabledproperty

A Boolean value indicating whether the title should be displayed in a large format. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setExtendSafeAreamethod

Sets the value of the Titanium.UI.Window.extendSafeArea property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setLargeTitleDisplayModemethod

Sets the value of the Titanium.UI.Window.largeTitleDisplayMode property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setLargeTitleEnabledmethod

Sets the value of the Titanium.UI.Window.largeTitleEnabled property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setSustainedPerformanceModemethod

Sets the value of the Titanium.UI.Window.sustainedPerformanceMode property. (New API, supported on Android.)

Titanium.UI.Window.sustainedPerformanceModeproperty

Maintain a sustainable level of performance. (New API, supported on Android.)

Titanium.UI.iOS.LARGE_TITLE_DISPLAY_MODE_ALWAYSproperty

Always use a larger title when this item is top most. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LARGE_TITLE_DISPLAY_MODE_AUTOMATICproperty

Automatically use the large out-of-line title based on the state of the previous item in the navigation bar. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LARGE_TITLE_DISPLAY_MODE_NEVERproperty

Never use a larger title when this item is top most. (New API, supported on iPhone and iPad.)

Deprecated APIs

Removed APIs