Skip to end of metadata
Go to start of metadata

Titanium SDK 7.0.1.RC - 18 December 2017

About this release

Titanium SDK 7.0.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

Fixed issues

Android

  • TIMOB-20332 - Closing a Ti.UI.TabGroup that contains a ti.map view crashes the app on Android
  • TIMOB-25468 - Android: HTML Key is missing under the source object for web view
  • TIMOB-25469 - Android : Custom theme not applying when background color is transparent
  • TIMOB-25477 - Android: Tapping right-aligned TextField not always receiving focus as of 6.2.2
  • TIMOB-25508 - Android: Forced rebuild loop due to tiapp.xml navbar-hidden changed
  • TIMOB-25517 - Android: TableViewProxy unable to create table view row proxy for object
  • TIMOB-25526 - Android: Listview when showing image with defaultImage causing inconsistency on image
  • TIMOB-25592 - Android CLI: Migration fails if module version does not follow semver (e.g. 1.0), description key overridden
  • TIMOB-25601 - Android: Remove "ti.cloudpush" module's "com.google.android.gms.version" metadata tag

iOS

  • TIMOB-25414 - iOS : Search bar in absolute-positioned ListView extends when focused
  • TIMOB-25424 - iOS: Unnecessary symbols compiled to the app
  • TIMOB-25560 - iOS: extendSafeArea property not behave properly if tabBarHidden = true or navBarHidden = true
  • TIMOB-25573 - CLI: iOS compiler breaks and compiles incorrectly when building to device - 6.3.0
  • TIMOB-25574 - iOS: SDK 7.0.0 - App crashes with exception when closing window that contains videoplayer
  • TIMOB-25576 - Ensuring usage of macros bundled core utilities and shells when adding to iOS buildPhases
  • TIMOB-25586 - iOS: Crash when selecting filtered row in Ti.UI.SearchBar

Improvements

  • TIMOB-25572 - Android: Provide Toolbar customization through DrawerLayout
    • Added customToolbar creationOnly property to DrawerLayout which expects an instance of Ti.UI.Toolbar which replaces the embedded Toolbar and provide access to increased customization. This property must be used together with toolbarEnabled = false in the creation dictionary to have an effect.
  • TIMOB-25593 - Android: Update Ti.Identity to work with Android 64 Bit & SDK 7.0.0
    • Updated Ti.Indentity to work with Android 64-bit and SDK 7.0.x

API changes

New APIs

The following APIs are new or have expanded platform support in Release 7.0.1 as of December 21st, 2017.

API
Type
Notes
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.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.scrollToTopmethod

Moves the top of the scrollable region into the viewable area. (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.setHintTypemethod

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

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.setHintTypemethod

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

Titanium.UI.Window.getSustainedPerformanceModemethod

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

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.)



Please ask your Confluence administrator to update the license for the MultiExcerpt Plugin for Confluence 4+ .
Admin Info: The error is: license VERSION_MISMATCH

Deprecated APIs

The following APIs are deprecated in Release 7.0.1 as of December 21st, 2017.

API
Type
Notes
Titanium.Calendar.Calendar.getEventsInMonthmethod

Use Titanium.Calendar.Calendar.getEventsBetweenDates instead.

Titanium.Calendar.Calendar.getEventsInYearmethod

Use Titanium.Calendar.Calendar.getEventsBetweenDates instead.

Titanium.Filesystem.File.getParentmethod

Use the Titanium.Filesystem.File.parent property to receive a Filereference instead. If you wish to receive the path, use the nativePathproperty of that reference instead.

Titanium.Geolocation.AUTHORIZATION_AUTHORIZEDproperty

Use Titanium.Geolocation.AUTHORIZATION_ALWAYS as advised by Apple.

Titanium.Media.VideoPlayer.backgroundViewproperty

Use Titanium.Media.VideoPlayer.overlayView instead.

Titanium.Media.VideoPlayer.getBackgroundViewmethod

Use Titanium.Media.VideoPlayer.overlayView instead.

Titanium.Media.VideoPlayer.getLoadStatemethod

On iOS, use Titanium.Media.VideoPlayer.moviePlayerStatus instead.

Titanium.Media.VideoPlayer.loadStateproperty

On iOS, use Titanium.Media.VideoPlayer.moviePlayerStatus instead.

Titanium.Media.VideoPlayer.setBackgroundViewmethod

Use Titanium.Media.VideoPlayer.overlayView instead.




Please ask your Confluence administrator to update the license for the MultiExcerpt Plugin for Confluence 4+ .
Admin Info: The error is: license VERSION_MISMATCH

Removed APIs

The following APIs have been removed in Release 7.0.1 as of December 21st, 2017.

API
Type
Notes
Titanium.Calendar.STATUS_CANCELLEDproperty

Use Titanium.Calendar.STATUS_CANCELED instead.

Titanium.Media.CAMERA_AUTHORIZATION_NOT_DETERMINEDproperty

Use Titanium.Media.CAMERA_AUTHORIZATION_UNKNOWN instead.

Titanium.Media.VIDEO_CONTROL_DEFAULTproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_CONTROL_EMBEDDEDproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_CONTROL_FULLSCREENproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_LOAD_STATE_PLAYTHROUGH_OKproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_LOAD_STATE_STALLEDproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_MEDIA_TYPE_AUDIOproperty

This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_MEDIA_TYPE_NONEproperty

This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_MEDIA_TYPE_VIDEOproperty

This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_PLAYBACK_STATE_SEEKING_BACKWARDproperty

This constant has been removed on iOS by using the official Apple AVPlayer that does not expose this functionality so far.

Titanium.Media.VIDEO_PLAYBACK_STATE_SEEKING_FORWARDproperty

This constant has been removed on iOS by using the official Apple AVPlayer that does not expose this functionality so far.

Titanium.Media.VIDEO_SCALING_ASPECT_FILLproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_SCALING_ASPECT_FITproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_SCALING_MODE_FILLproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_SCALING_NONEproperty

This property has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_SOURCE_TYPE_FILEproperty

This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_SOURCE_TYPE_STREAMINGproperty

This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VIDEO_SOURCE_TYPE_UNKNOWNproperty

This property has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.fullscreenevent

This event has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.fullscreenproperty

This method has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.getFullscreenmethod

This method has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.getMediaControlStylemethod

On iOS, use Titanium.Media.VideoPlayer.showsControls instead.

Titanium.Media.VideoPlayer.getSourceTypemethod

This method has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.mediaControlStyleproperty

On iOS, use Titanium.Media.VideoPlayer.showsControls instead.

Titanium.Media.VideoPlayer.mediatypesavailableevent

This event has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.setFullscreenmethod

This method has been removed for iOS in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.setMediaControlStylemethod

On iOS, use Titanium.Media.VideoPlayer.showsControls instead.

Titanium.Media.VideoPlayer.setSourceTypemethod

This method has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.sourceTypeproperty

This method has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Media.VideoPlayer.sourcechangeevent

This event has been removed in Titanium SDK 7.0.0 as of the official deprecation by Apple.

Titanium.Network.INADDR_ANYproperty 
Titanium.UI.iPhoneobject

Use the unified Titanium.UI.iOS namespace instead.

Titanium.UI.iPhone.ActivityIndicatorStyleobject

Use the Titanium.UI.ActivityIndicatorStyle constants instead (without the iPhone namespace).

Titanium.UI.iPhone.AlertDialogStyleobject

Use Titanium.UI.iOS.AlertDialogStyle instead.

Titanium.UI.iPhone.AnimationStyleobject

Use Titanium.UI.iOS.AnimationStyle instead.

Titanium.UI.iPhone.ListViewCellSelectionStyleobject

Use Titanium.UI.iOS.ListViewCellSelectionStyle instead.

Titanium.UI.iPhone.ListViewScrollPositionobject

Use Titanium.UI.iOS.ListViewScrollPosition instead.

Titanium.UI.iPhone.ListViewSeparatorStyleobject

Use Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_SINGLE_LINE and Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_NONE instead.

Titanium.UI.iPhone.ListViewStyleobject

Use Titanium.UI.iOS.ListViewStyle instead.

Titanium.UI.iPhone.ProgressBarStyleobject

Use Titanium.UI.iOS.ProgressBarStyle instead.

Titanium.UI.iPhone.RowAnimationStyleobject

Use Titanium.UI.iOS.RowAnimationStyle instead.

Titanium.UI.iPhone.ScrollIndicatorStyleobject

Use Titanium.UI.iOS.ScrollIndicatorStyle instead.

Titanium.UI.iPhone.SystemButtonobject

Use Titanium.UI.iOS.SystemButton instead.

Titanium.UI.iPhone.SystemButtonStyleobject

Use Titanium.UI.iOS.SystemButtonStyle instead.

Titanium.UI.iPhone.SystemIconobject

Use Titanium.UI.iOS.SystemIcon instead.

Titanium.UI.iPhone.TableViewCellSelectionStyleobject

Use Titanium.UI.iOS.TableViewCellSelectionStyle instead.

Titanium.UI.iPhone.TableViewScrollPositionobject

Use Titanium.UI.iOS.TableViewScrollPosition instead.

Titanium.UI.iPhone.TableViewSeparatorStyleobject

Use Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_SINGLE_LINE and Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_NONE instead.

Titanium.UI.iPhone.TableViewStyleobject

Use Titanium.UI.iOS.TableViewStyle instead.



Please ask your Confluence administrator to update the license for the MultiExcerpt Plugin for Confluence 4+ .
Admin Info: The error is: license VERSION_MISMATCH