Skip to end of metadata
Go to start of metadata

Titanium SDK 7.5.1.GA - 26 February 2019

About this release

Titanium SDK 7.5.1 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. End of support for this version will be 2019-08-26 or until the next patch release. 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.

New features

  • TIMOB-13966 - TiAPI: Select Locale for L() at runtime
    • Change language on runtime across app-launches

Community credits

Fixed issues

Android

  • TIMOB-20266 - Android: ListView with attributed strings are not rendering sometimes
  • TIMOB-26545 - Android: Using global L() method for localization does not work if second argument is not supplied
  • TIMOB-26580 - Android: ListView templates not compatible with native modules
  • TIMOB-26625 - Android: Can't open Titanium app through intent (7.5.0 regression)
  • TIMOB-26626 - Android apps are taking much longer to load than they did on previous sdks
  • TIMOB-26632 - Android: App sometimes crashes when backgrounded as of 7.5.0
  • TIMOB-26774 - Android: When backgrounded, data intent no longer re-executes "app.js" as of 7.5.0

iOS

  • TIMOB-26452 - iOS: Object.hasProperty incorrectly reports false when a property's value is null
  • TIMOB-26594 - iOS: Exception when canceling local notifications with removePendingNotifications
  • TIMOB-26612 - Problem with Internationalization
  • TIMOB-26628 - iOS 11.0: App crashes on launch
  • TIMOB-26688 - iOS: Proxy objects created in timers aren't released properly

API changes

New APIs

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

APITypeNotes
Global.console.timeLogmethod

Log duration taken so far for an operation. (New API, supported on Android, iPhone and iPad.)

Titanium.Android.Activity.userinteractionevent

Called whenever a key, touch, or trackball event is dispatched to the activity. (New API, supported on Android.)

Titanium.Android.NotificationChannel.getSoundmethod

Gets the value of the Titanium.Android.NotificationChannel.sound property. (New API, supported on Android.)

Titanium.Android.NotificationChannel.setSoundmethod

Sets the value of the Titanium.Android.NotificationChannel.sound property. (New API, supported on Android.)

Titanium.Android.NotificationChannel.soundproperty

A URL to the sound to play. (New API, supported on Android.)

Titanium.App.Android.shortcutitemclickevent

Fired when a Titanium.UI.ShortcutItem is clicked. (New API, supported on Android.)

Titanium.App.shortcutitemclickevent

Fired when a Titanium.UI.ShortcutItem is clicked. (New API, supported on Android, iPhone and iPad.)

Titanium.App.trackUserInteractionproperty

Indicates whether or not the user interaction shoud be tracked. (New API, supported on iPhone and iPad.)

Titanium.App.userinteractionevent

Called whenever an interaction with the window occurred. To be used together with the Titanium.App.trackUserInteraction property. (New API, supported on Android, iPhone and iPad.)

Titanium.Locale.changeevent

Fired when the device locale changes. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_BUFFERINGproperty

Audio data is being buffered from the network. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_INITIALIZEDproperty

Audio playback is being initialized. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_PAUSEDproperty

Playback is paused. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_PLAYINGproperty

Audio playback is active. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_STARTINGproperty

Audio playback is starting. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_STOPPEDproperty

Audio playback is stopped. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_STOPPINGproperty

Audio playback is stopping. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_WAITING_FOR_DATAproperty

Player is waiting for audio data from the network. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_WAITING_FOR_QUEUEproperty

Player is waiting for audio data to fill the queue. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.allowsExternalPlaybackproperty

Indicates whether the player allows switching to "external playback" mode. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.completeevent

Fired when the audio has finished playing. (Added support for iPhone and iPad.)

Titanium.Media.AudioPlayer.externalPlaybackActiveproperty

Indicates whether the player is currently playing video in "external playback" mode. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.getAllowsExternalPlaybackmethod

Gets the value of the Titanium.Media.AudioPlayer.allowsExternalPlayback property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.getExternalPlaybackActivemethod

Gets the value of the Titanium.Media.AudioPlayer.externalPlaybackActive property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.getMutedmethod

Gets the value of the Titanium.Media.AudioPlayer.muted property. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.getRatemethod

Gets the value of the Titanium.Media.AudioPlayer.rate property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.metadataevent

Fired when the timed metadata was encountered most recently within the media as it plays. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.mutedproperty

Indicates whether or not audio output of the player is muted. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.rateproperty

Indicates the desired rate of playback; 0.0 means "paused", 1.0 indicates a desire to play at the natural rate of the current item. In addition, 2.0would mean that the audio plays twice as fast. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.releasemethod

Stops buffering audio data and releases audio resources. (Added support for iPhone and iPad.)

Titanium.Media.AudioPlayer.restartmethod

Restarts (stops and stars) audio playback. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.seekToTimemethod

Moves the playback cursor and invokes the specified block when the seek operation has either been completed or been interrupted. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.setAllowsExternalPlaybackmethod

Sets the value of the Titanium.Media.AudioPlayer.allowsExternalPlayback property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.setMutedmethod

Sets the value of the Titanium.Media.AudioPlayer.muted property. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.setRatemethod

Sets the value of the Titanium.Media.AudioPlayer.rate property. (New API, supported on iPhone and iPad.)

Titanium.Media.QUALITY_640x480property

Media type constant for medium-quality video recording. (Added support for Android.)

Titanium.Media.QUALITY_HIGHproperty

Media type constant for high-quality video recording. (Added support for Android.)

Titanium.Media.QUALITY_IFRAME_1280x720property

Media type constant for medium-quality video recording. (Added support for Android.)

Titanium.Media.QUALITY_LOWproperty

Media type constant for low-quality video recording. (Added support for Android.)

Titanium.Media.getQUALITY_640x480method

Gets the value of the Titanium.Media.QUALITY_640x480 property. (Added support for Android.)

Titanium.Media.getQUALITY_IFRAME_1280x720method

Gets the value of the Titanium.Media.QUALITY_IFRAME_1280x720 property. (Added support for Android.)

Titanium.UI.ATTRIBUTE_PARAGRAPH_STYLEproperty

Use with Attribute.type to manages the behaviour of string set. (New API, supported on iPhone and iPad.)

Titanium.UI.ActivityIndicator.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.ActivityIndicator.getAnchorPointmethod

Gets the value of the Titanium.UI.ActivityIndicator.anchorPoint property. (Added support for Android.)

Titanium.UI.ActivityIndicator.setAnchorPointmethod

Sets the value of the Titanium.UI.ActivityIndicator.anchorPoint property. (Added support for Android.)

Titanium.UI.AlertDialog.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.AlertDialog.buttonClickRequiredproperty

Setting this to true requires the end-user to click a dialog button to close the dialog. (New API, supported on Android.)

Titanium.UI.AlertDialog.getAnchorPointmethod

Gets the value of the Titanium.UI.AlertDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.AlertDialog.getButtonClickRequiredmethod

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

Titanium.UI.AlertDialog.setAnchorPointmethod

Sets the value of the Titanium.UI.AlertDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.AlertDialog.setButtonClickRequiredmethod

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

Titanium.UI.Android.FLAG_TRANSLUCENT_NAVIGATIONproperty

Window flag which makes the Android system's navigation bar semi-transparent. (New API, supported on Android.)

Titanium.UI.Android.FLAG_TRANSLUCENT_STATUSproperty

Window flag which makes the Android system's top status bar semi-transparent. (New API, supported on Android.)

Titanium.UI.Android.ProgressIndicator.anchorPointproperty

Coordinate of the view about which to pivot an animation. (New API, supported on Android.)

Titanium.UI.Android.ProgressIndicator.getAnchorPointmethod

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

Titanium.UI.Android.ProgressIndicator.setAnchorPointmethod

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

Titanium.UI.Button.attributedStringproperty

Specify an attributed string for the label. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Button.getAttributedStringmethod

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

Titanium.UI.Button.setAttributedStringmethod

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

Titanium.UI.EmailDialog.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.EmailDialog.getAnchorPointmethod

Gets the value of the Titanium.UI.EmailDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.EmailDialog.setAnchorPointmethod

Sets the value of the Titanium.UI.EmailDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.OptionDialog.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.OptionDialog.getAnchorPointmethod

Gets the value of the Titanium.UI.OptionDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.OptionDialog.setAnchorPointmethod

Sets the value of the Titanium.UI.OptionDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.Picker.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.Picker.getAnchorPointmethod

Gets the value of the Titanium.UI.Picker.anchorPoint property. (Added support for Android.)

Titanium.UI.Picker.setAnchorPointmethod

Sets the value of the Titanium.UI.Picker.anchorPoint property. (Added support for Android.)

Titanium.UI.ScrollableView.clipViewsproperty

Determines whether the previous and next pages are clipped, so that they are not visibleadjacent to the current page. (Added support for Android.)

Titanium.UI.ScrollableView.getClipViewsmethod

Gets the value of the Titanium.UI.ScrollableView.clipViews property. (Added support for Android.)

Titanium.UI.ScrollableView.getPaddingmethod

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

Titanium.UI.ScrollableView.paddingproperty

The padding applied to the scrollable view. (New API, supported on Android.)

Titanium.UI.ScrollableView.setClipViewsmethod

Sets the value of the Titanium.UI.ScrollableView.clipViews property. (Added support for Android.)

Titanium.UI.ScrollableView.setPaddingmethod

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

Titanium.UI.SearchBar.fieldBackgroundDisabledImageproperty

Background image of the text field in disabled state, specified as a local file path or URL. (New API, supported on iPhone and iPad.)

Titanium.UI.SearchBar.fieldBackgroundImageproperty

Background image of the text field, specified as a local file path or URL. (New API, supported on iPhone and iPad.)

Titanium.UI.SearchBar.getFieldBackgroundDisabledImagemethod

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

Titanium.UI.SearchBar.getFieldBackgroundImagemethod

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

Titanium.UI.SearchBar.setFieldBackgroundDisabledImagemethod

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

Titanium.UI.SearchBar.setFieldBackgroundImagemethod

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

Titanium.UI.ShortcutItemobject

An application shortcut. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Tab.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.Tab.getAnchorPointmethod

Gets the value of the Titanium.UI.Tab.anchorPoint property. (Added support for Android.)

Titanium.UI.Tab.setAnchorPointmethod

Sets the value of the Titanium.UI.Tab.anchorPoint property. (Added support for Android.)

Titanium.UI.TabGroup.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.TabGroup.getAnchorPointmethod

Gets the value of the Titanium.UI.TabGroup.anchorPoint property. (Added support for Android.)

Titanium.UI.TabGroup.setAnchorPointmethod

Sets the value of the Titanium.UI.TabGroup.anchorPoint property. (Added support for Android.)

Titanium.UI.TextArea.getLinesmethod

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

Titanium.UI.TextArea.getMaxLinesmethod

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

Titanium.UI.TextArea.linesproperty

Number of lines tall the text area height will be, if set. (New API, supported on Android.)

Titanium.UI.TextArea.maxLinesproperty

Maximum line count of text field input. (New API, supported on Android.)

Titanium.UI.TextArea.setLinesmethod

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

Titanium.UI.TextArea.setMaxLinesmethod

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

Titanium.UI.TextField.getPasswordRulesmethod

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

Titanium.UI.TextField.passwordRulesproperty

Set password rules that should be used for this text field. (New API, supported on iPhone and iPad.)

Titanium.UI.TextField.setPasswordRulesmethod

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

Titanium.UI.View.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.View.getAnchorPointmethod

Gets the value of the Titanium.UI.View.anchorPoint property. (Added support for Android.)

Titanium.UI.View.setAnchorPointmethod

Sets the value of the Titanium.UI.View.anchorPoint property. (Added support for Android.)

Titanium.UI.WebView.getMixedContentModemethod

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

Titanium.UI.WebView.getOnlinkmethod

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

Titanium.UI.WebView.mixedContentModeproperty

If true, allows the loading of insecure resources from a secure origin. (New API, supported on Android.)

Titanium.UI.WebView.onlinkproperty

Fired before navigating to a link. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.setMixedContentModemethod

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

Titanium.UI.WebView.setOnlinkmethod

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

Titanium.UI.Window.extendSafeAreaproperty

Specifies whether the screen insets/notches are allowed to overlap the window's content or not. (Added support for Android.)

Titanium.UI.Window.getExtendSafeAreamethod

Gets the value of the Titanium.UI.Window.extendSafeArea property. (Added support for Android.)

Titanium.UI.Window.getHidesBackButtonmethod

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

Titanium.UI.Window.getSafeAreaPaddingmethod

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

Titanium.UI.Window.hidesBackButtonproperty

Set this to true to hide the back button of navigation bar. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.safeAreaPaddingproperty

The padding needed to safely display content without it being overlapped by the screen insets and notches. (New API, supported on Android.)

Titanium.UI.Window.setExtendSafeAreamethod

Sets the value of the Titanium.UI.Window.extendSafeArea property. (Added support for Android.)

Titanium.UI.Window.setHidesBackButtonmethod

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

Titanium.UI.createShortcutItemmethod

Creates and returns an instance of Titanium.UI.ShortcutItem. (New API, supported on Android, iPhone and iPad.)

Deprecated APIs

The following APIs are deprecated in release 7.5.1.

APITypeNotes
Titanium.Media.AudioPlayer.STATE_BUFFERINGproperty

Use Titanium.Media.AUDIO_STATE_BUFFERING instead.

Titanium.Media.AudioPlayer.STATE_INITIALIZEDproperty

Use Titanium.Media.AUDIO_STATE_INITIALIZED instead.

Titanium.Media.AudioPlayer.STATE_PAUSEDproperty

Use Titanium.Media.AUDIO_STATE_PAUSED instead.

Titanium.Media.AudioPlayer.STATE_PLAYINGproperty

Use Titanium.Media.AUDIO_STATE_PLAYING instead.

Titanium.Media.AudioPlayer.STATE_STARTINGproperty

Use Titanium.Media.AUDIO_STATE_STARTING instead.

Titanium.Media.AudioPlayer.STATE_STOPPEDproperty

Use Titanium.Media.AUDIO_STATE_STOPPED instead.

Titanium.Media.AudioPlayer.STATE_STOPPINGproperty

Use Titanium.Media.AUDIO_STATE_STOPPING instead.

Titanium.Media.AudioPlayer.STATE_WAITING_FOR_DATAproperty

Use Titanium.Media.AUDIO_STATE_WAITING_FOR_DATA instead.

Titanium.Media.AudioPlayer.STATE_WAITING_FOR_QUEUEproperty

Use Titanium.Media.AUDIO_STATE_WAITING_FOR_QUEUE instead.

Titanium.Media.AudioPlayer.playmethod

Use the cross-platform API start instead.

Titanium.Media.AudioPlayer.setPausedmethod

Use the cross-platform API pause instead.

Titanium.UI.ATTRIBUTE_LINE_BREAKproperty

Use Titanium.UI.ATTRIBUTE_PARAGRAPH_STYLE.lineBreakMode instead.

SDK modules versions

Android and iOS

urlSession2.1.0n/a
facebook5.9.07.3.1
ti.coremotion2.0.1n/a
ti.map3.1.04.3.1
ti.safaridialog1.1.1n/a
ti.webdialog1.1.01.1.0
ti.touchid2.1.43.0.1
ti.identity1.0.52.1.0
ti.cloudpushn/a6.0.0
ti.playservicesn/a16.1.2
Module
iOS version
Android version

CommonJS

ti.cloud3.2.11
Module
Version

Hyperloop

hyperloop3.1.4
Module
Version