Skip to end of metadata
Go to start of metadata

Titanium SDK 7.3.1.RC - 27 August 2018

About this release

Titanium SDK 7.3.1.RC is a patch release of the SDK, addressing high-priority issues from previous releases.

As of this GA release, the previous Titanium SDK patch release is no longer supported. Note: major and minor releases continue to be supported according to their nominal lifetime. See Axway Appcelerator Deprecation Policy and Nominal Lifetimes documents for details.

Community credits

  • Matthew Delmarter - TIMOB-26237 - iOS: Local Notification Event not triggered when app is launched from the background
  • Andreas Pingas - TIMOB-26300 - iOS: Initializing Ti.UI.TextArea crashes app when running on kroll-thread
  • kedomuz - TIMOB-26325 - Android: Ti.UI.WebView not firing events in 7.x
  • Luc-Edmond Gaspard - TIMOB-26329 - Hyperloop: Android - Can't instantiate a CoordinatorLayout in SDK 7.3.0

  • Donovan Lewis - TIMOB-25941 - Android: HTTPClient downloads are slower compared to iOS

Fixed issues

Android platform

  • TIMOB-26130 - Android: Fix compatibility with NDK 12+
  • TIMOB-26280 - Android: Build for genymotion emulator fails with "Cannot set property 'child' of undefined" in node-titanium-sdk
  • TIMOB-26325 - Android: Ti.UI.WebView not firing events in 7.x

iOS platform

  • TIMOB-26237 - iOS: Local Notification Event not triggered when app is launched from the background
  • TIMOB-26300 - iOS: Initializing Ti.UI.TextArea crashes app when running on kroll-thread
  • TIMOB-26319 - iOS: "usernotificationsettings" does not include "types" array on iOS 10 and SDK 7.3.0

All platforms

  • TIMOB-26328 - Hyperloop: Android - Application freezes when trying to reopen window in 7.3.0
  • TIMOB-26329 - Hyperloop: Android - Can't instantiate a CoordinatorLayout in SDK 7.3.0

Improvements

  • TIMOB-25941 - Android: HTTPClient downloads are slower compared to iOS
    • Optimized HTTPClient download performance
      • Download performance improved by about 25%
      • Increased response buffer size from 4kb to 8kb
      • Removed undocumented event property blob from callback ondatastream()
        • Improves performance by avoiding extra buffer copy
        • This undocumented property does not exist on iOS
      • Modified responseText property handling only create its string when accessed
      • Synchronized file write to storage upon download completion

API changes

New APIs

The following APIs are new or have expanded platform support in Release 7.3.1 as of August 30th, 2018.

API
Type
Notes
Global.console.timemethod

Start a timer to track duration of an operation. (New API, supported on Android, iPhone and iPad.)

Global.console.timeEndmethod

Stop a timer that was previously started. (New API, supported on Android, iPhone and iPad.)

Titanium.Android.R.animatorproperty

Animator resources. See R.animator in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.boolproperty

Boolean resources. See R.bool in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.fractionproperty

Fraction resources. See R.fraction in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.interpolatorproperty

Interpolator resources. See R.fraction in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.menuproperty

Menu resources. See R.menu in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.mipmapproperty

Mipmap resources. See R.mipmap in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.pluralsproperty

Plurals resources. See R.plurals in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.rawproperty

Raw resources. See R.raw in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.transitionproperty

Transition resources. See R.transition in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.xmlproperty

XML resources. See R.xml in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.Service.foregroundCancelmethod

Puts the service into the "background" state and removes its foreground notification. (New API, supported on Android.)

Titanium.Android.Service.foregroundNotifymethod

Puts the service into the "foreground" state and displays a notification. (New API, supported on Android.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_ALERTproperty

A alert dialog is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_BANNERproperty

A banner is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_NONEproperty

No banner or alert dialog is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_AUTHORIZEDproperty

The application is authorized to post user notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_DENIEDproperty

The application is not authorized to post user notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_NOT_DETERMINEDproperty

The user has not yet made a choice regarding whether the application may postuser notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_ALLOW_IN_CARPLAYproperty

Allow CarPlay to display notifications of this type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_CUSTOM_DISMISS_ACTIONproperty

Send dismiss actions to the UNUserNotificationCenter object's delegate for handling. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_HIDDEN_PREVIEWS_SHOW_SUBTITLEproperty

Show the notification's subtitle, even if the user has disabled notification previews for the app. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_HIDDEN_PREVIEWS_SHOW_TITLEproperty

Show the notification's title, even if the user has disabled notification previews for the app. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_NONEproperty

No options. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_DISABLEDproperty

The notification setting is turned off. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_ENABLEDproperty

The notification setting is turned on. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_NOT_SUPPORTEDproperty

The application does not support this notification type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserNotificationCenterobject

The top-level App iOS Notification Center module. It is used to control scheduled notificationsand receive details about the system-wide notification settings. (New API, supported on iPhone and iPad.)

Titanium.Filesystem.File.appendmethod

Appends data to the file identified by this file object. (Added support for Android.)

Titanium.Filesystem.File.copymethod

Copies the file identified by this file object to a new path. (Added support for iPhone and iPad.)

Titanium.Filesystem.File.createdAtmethod

Returns the creation Date for the file identified by this file object. (Added support for Android, iPhone and iPad.)

Titanium.Filesystem.File.modifiedAtmethod

Returns the last modification Date for the file identified by this file object. (Added support for Android, iPhone and iPad.)

Titanium.Geolocation.getShowBackgroundLocationIndicatormethod

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

Titanium.Geolocation.setShowBackgroundLocationIndicatormethod

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

Titanium.Geolocation.showBackgroundLocationIndicatorproperty

Specifies that an indicator be shown when the app makes use of continuous background location updates. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_CLEARproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLORproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLOR_BURNproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLOR_DODGEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COPYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DARKENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_ATOPproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_INproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_OUTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_OVERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DIFFERENCEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_EXCLUSIONproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_HARD_LIGHTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_HUEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_LIGHTENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_LUMINOSITYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_MULTIPLYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_NORMALproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_OVERLAYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_PLUS_DARKERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_PLUS_LIGHTERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SATURATIONproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_SCREENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOFT_LIGHTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_ATOPproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_INproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_OUTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_XORproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.MaskedImageobject

A control that displays an image composited with a background image or color. (Added support for Android.)

Titanium.UI.TableView.getResultsBackgroundColormethod

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

Titanium.UI.TableView.getResultsSeparatorColormethod

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

Titanium.UI.TableView.getResultsSeparatorInsetsmethod

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

Titanium.UI.TableView.getResultsSeparatorStylemethod

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

Titanium.UI.TableView.getScrollablemethod

Gets the value of the Titanium.UI.TableView.scrollable property. (Added support for Android.)

Titanium.UI.TableView.resultsBackgroundColorproperty

The background color of the search results (iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.TableView.resultsSeparatorColorproperty

Separator line color between rows inside search results, as a color name or hex triplet (iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.TableView.resultsSeparatorInsetsproperty

The insets for search results separators (applies to all cells & iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.TableView.resultsSeparatorStyleproperty

The separator style of the search results (iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.TableView.scrollableproperty

If true, the tableview can be scrolled. (Added support for Android.)

Titanium.UI.TableView.setResultsBackgroundColormethod

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

Titanium.UI.TableView.setResultsSeparatorColormethod

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

Titanium.UI.TableView.setResultsSeparatorInsetsmethod

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

Titanium.UI.TableView.setResultsSeparatorStylemethod

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

Titanium.UI.TableView.setScrollablemethod

Sets the value of the Titanium.UI.TableView.scrollable property. (Added support for Android.)

Titanium.UI.View.getHorizontalMotionEffectmethod

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

Titanium.UI.View.getVerticalMotionEffectmethod

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

Titanium.UI.View.horizontalMotionEffectproperty

Adds a horizontal parallax effect to the view (New API, supported on iPhone and iPad.)

Titanium.UI.View.setHorizontalMotionEffectmethod

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

Titanium.UI.View.setVerticalMotionEffectmethod

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

Titanium.UI.View.verticalMotionEffectproperty

Adds a vertical parallax effect to the view (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.getZoomLevelmethod

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

Titanium.UI.WebView.setZoomLevelmethod

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

Titanium.UI.WebView.zoomLevelproperty

Manage the zoom-level of the current page. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Window.getHomeIndicatorAutoHiddenmethod

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

Titanium.UI.Window.getNavigationWindowmethod

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

Titanium.UI.Window.homeIndicatorAutoHiddenproperty

Boolean value indicating whether the system is allowed to hide the visual indicator for returning to the Home screen. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.navigationWindowproperty

The Titanium.UI.iOS.NavigationWindow instance hosting this window. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHomeIndicatorAutoHiddenmethod

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

Titanium.UI.createMaskedImagemethod

Creates and returns an instance of Titanium.UI.MaskedImage. (Added support for Android.)

Titanium.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_CONTEXTproperty

View presented over its parent window. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREENproperty

Presented view covers the screen. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.setMODAL_PRESENTATION_OVER_CURRENT_CONTEXTmethod

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

Titanium.UI.iOS.setMODAL_PRESENTATION_OVER_CURRENT_FULL_SCREENmethod

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

Deprecated APIs

The following APIs are deprecated in Release 7.3.1 as of August 30th, 2018.

APITypeNotes
Titanium.App.iOS.LocalNotification.cancelmethod

Use Titanium.App.iOS.UserNotificationCenter.removePendingNotifications instead.

Titanium.App.iOS.cancelAllLocalNotificationsmethod

Use Titanium.App.iOS.UserNotificationCenter.removePendingNotifications instead.

Titanium.App.iOS.cancelLocalNotificationmethod

Use Titanium.App.iOS.UserNotificationCenter.removePendingNotifications instead.

Titanium.App.iOS.currentUserNotificationSettingsproperty

Use Titanium.App.iOS.UserNotificationCenter.requestUserNotificationSettings instead.

Titanium.App.iOS.getCurrentUserNotificationSettingsmethod

Use Titanium.App.iOS.UserNotificationCenter.requestUserNotificationSettings instead.

Titanium.Filesystem.File.createTimestampmethod

Use Titanium.Filesystem.File.createdAt instead.

Titanium.Filesystem.File.modificationTimestampmethod

Use Titanium.Filesystem.File.modifiedAt instead.

Titanium.UI.iOS.BLEND_MODE_CLEARproperty

Use Titanium.UI.BLEND_MODE_CLEAR instead.

Titanium.UI.iOS.BLEND_MODE_COLORproperty

Use Titanium.UI.BLEND_MODE_COLOR instead.

Titanium.UI.iOS.BLEND_MODE_COLOR_BURNproperty

Use Titanium.UI.BLEND_MODE_COLOR_BURN instead.

Titanium.UI.iOS.BLEND_MODE_COLOR_DODGEproperty

Use Titanium.UI.BLEND_MODE_COLOR_DODGE instead.

Titanium.UI.iOS.BLEND_MODE_COPYproperty

Use Titanium.UI.BLEND_MODE_COPY instead.

Titanium.UI.iOS.BLEND_MODE_DARKENproperty

Use Titanium.UI.BLEND_MODE_DARKEN instead.

Titanium.UI.iOS.BLEND_MODE_DESTINATION_ATOPproperty

Use Titanium.UI.BLEND_MODE_DESTINATION_ATOP instead.

Titanium.UI.iOS.BLEND_MODE_DESTINATION_INproperty

Use Titanium.UI.BLEND_MODE_DESTINATION_IN instead.

Titanium.UI.iOS.BLEND_MODE_DESTINATION_OUTproperty

Use Titanium.UI.BLEND_MODE_DESTINATION_OUT instead.

Titanium.UI.iOS.BLEND_MODE_DESTINATION_OVERproperty

Use Titanium.UI.BLEND_MODE_DESTINATION_OVER instead.

Titanium.UI.iOS.BLEND_MODE_DIFFERENCEproperty

Use Titanium.UI.BLEND_MODE_DIFFERENCE instead.

Titanium.UI.iOS.BLEND_MODE_EXCLUSIONproperty

Use Titanium.UI.BLEND_MODE_EXCLUSION instead.

Titanium.UI.iOS.BLEND_MODE_HARD_LIGHTproperty

Use Titanium.UI.BLEND_MODE_HARD_LIGHT instead.

Titanium.UI.iOS.BLEND_MODE_HUEproperty

Use Titanium.UI.BLEND_MODE_HUE instead.

Titanium.UI.iOS.BLEND_MODE_LIGHTENproperty

Use Titanium.UI.BLEND_MODE_LIGHTEN instead.

Titanium.UI.iOS.BLEND_MODE_LUMINOSITYproperty

Use Titanium.UI.BLEND_MODE_LUMINOSITY instead.

Titanium.UI.iOS.BLEND_MODE_MULTIPLYproperty

Use Titanium.UI.BLEND_MODE_MULTIPLY instead.

Titanium.UI.iOS.BLEND_MODE_NORMALproperty

Use Titanium.UI.BLEND_MODE_NORMAL instead.

Titanium.UI.iOS.BLEND_MODE_OVERLAYproperty

Use Titanium.UI.BLEND_MODE_OVERLAY instead.

Titanium.UI.iOS.BLEND_MODE_PLUS_DARKERproperty

Use Titanium.UI.BLEND_MODE_PLUS_DARKER instead.

Titanium.UI.iOS.BLEND_MODE_PLUS_LIGHTERproperty

Use Titanium.UI.BLEND_MODE_PLUS_LIGHTER instead.

Titanium.UI.iOS.BLEND_MODE_SATURATIONproperty

Use Titanium.UI.BLEND_MODE_SATURATION instead.

Titanium.UI.iOS.BLEND_MODE_SCREENproperty

Use Titanium.UI.BLEND_MODE_SCREEN instead.

Titanium.UI.iOS.BLEND_MODE_SOFT_LIGHTproperty

Use Titanium.UI.BLEND_MODE_SOFT_LIGHT instead.

Titanium.UI.iOS.BLEND_MODE_SOURCE_ATOPproperty

Use Titanium.UI.BLEND_MODE_SOURCE_ATOP instead.

Titanium.UI.iOS.BLEND_MODE_SOURCE_INproperty

Use Titanium.UI.BLEND_MODE_SOURCE_IN instead.

Titanium.UI.iOS.BLEND_MODE_SOURCE_OUTproperty

Use Titanium.UI.BLEND_MODE_SOURCE_OUT instead.

Titanium.UI.iOS.BLEND_MODE_XORproperty

Use Titanium.UI.BLEND_MODE_XOR instead.