Titanium SDK 7.0.0.RC Release Note

Titanium SDK 7.0.0.RC - 30 November 2017

About this release

Titanium SDK 7.0.0.RC 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 

  • Integrated Hyperloop into SDK core
    • TIMOB-25058 - Begin making hyperloop part of the core SDK (and using it for SDK development)
    • TIMOB-25059 - Add Hyperloop to pre-packaged native modules listing in the SDK
    • TIMOB-25060 - Build Android hyperloop against SDK 7.0.0 / v8 5.7+ 
  • TIMOB-25459 - Android: toImage method needs parity with iOS
    • The toImage method has changed for iOS with this release. Test case:

      var win = Ti.UI.createWindow();
      var view = Ti.UI.createView({backgroundColor: 'green', width: 150, height: 150, top: 100});
      var content = Ti.UI.createView({backgroundColor: 'blue', width: 45, height: 45});
      var imageView = Ti.UI.createImageView({width: 150, height: 150, top: 300});
      
      view.add(content);
      win.add(view);
      win.addEventListener('postlayout', function() {
      	view.toImage(function(blob) {
      		imageView.setImage(blob);
      	});
      });
      
      win.add(imageView);
      win.open();
  • TIMOB-23958 - Remove deprecated Python and unused files 
    • Removed Python dependency
  • TIMOB-24593 - TiAPI: Update Facebook-SDKs to 4.22, support Graph v2.9 
    • Update Android Facebook SDK to 4.20.0 and iOS Facebook SDK to 4.20.2

New features 

Android platform

  • TIMOB-17340 - TiAPI: Text - Add lineHeight property to Ti.UI.Label and Ti.Ui.TextArea
    • Added Ti.UI.ATTRIBUTE_BASELINE_OFFSET support to AttributedString (controls line height in Labels, TextFields, and TextAreas)
  • TIMOB-23802 - Android N: Expose Sustained Performance API for Nexus devices
    • Added support for sustainedPerformancemode
  • TIMOB-23903 - Android: Update V8 runtime to 5.7.492.71
  • TIMOB-24510 - Android N: Implement support for Custom quick settings tiles
    • Add support for custom quick settings tiles in Android N and above
  • TIMOB-24639 - Android: Support TextInputLayout
    • Allow animated hintType to be set using attributedHintText although attributes will be ignored (Android limitation)
    • Always respect height property
    • Set EditText background color to transparent
  • TIMOB-24723 - Android: Support V8 inspector API for debugging to replace "legacy" debugger protocol
    • Added support for V8 inspector for debugging
  • TIMOB-24963 - Android: Add scrollToTop() to ScrollView
    • Added scrollToTop() to ScrollView

iOS platform

  • TIMOB-10787 - iOS: Expose UDID replacements available in iOS6
    • Added support for UDID replacement

Windows platform

  • TIMOB-24964 - Windows: Add scrollToTop() to ScrollView
    • Added scrollToTop() to ScrollView
  • TIMOB-25233 - Windows: Feature request - Ti.UI.TextField setSelection method
    • Added Windows parity for setSelection of Ti.UI.TextFields
  • TIMOB-25234 - Windows: Feature request - Ti.UI.TextField clearButtonMode
    • Added Windows parity for clearButtonMode of Ti.UI.TextFields
  • TIMOB-25235 - Windows: Feature request - Ti.UI.TextField blur method
    • Added Windows parity for blur of Ti.UI.TextField
  • TIMOB-25236 - Windows: Feature request - Ti.UI.TEXT_ALIGNMENT_JUSTIFY
    • Added Windows parity for Ti.UI.TEXT_ALIGNMENT_JUSTIFY

  • TIMOB-25237 - Windows: Feature request - Ti.UI.Picker borderColor property
    • Added Windows parity for borderColor of Ti.UI.Picker
  • TIMOB-25250 - Windows: Feature request - Ti.UI.ActivityIndicator.style/ Titanium.UI.ActivityIndicator.indicatorDiameter
    • Added Windows parity for  Ti.UI.ActivityIndicator.style and Titanium.UI.ActivityIndicator.indicatorDiameter
  • TIMOB-25303 - Windows: Feature request - Ti.UI.Picker font property
    • Added Windows parity for Ti.UI.Picker of Ti.UI.PICKER_TYPE_DATE
  • TIMOB-25345 - Windows: Prevent app from suspension
    • Implemened extended execution to prevent suspension

  • TIMOB-25400 - Update module apiversion
    • Updated apiversion to use "4" for SDK 7.0.0

Multiple platforms

  • TIMOB-14795 - TiAPI: Add "parent" property for all Ti.UI.View subclasses
    • Added support for parent property for Ti.UI.View

Community credits

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

Fixed issues

Android

  • TIMOB-6392 - Android: Ti.UI.Button text values with too many displayable characters draw improperly
  • TIMOB-9680 - Android: Textfield: The focus on textfield does not happen through textfield focus method
  • TIMOB-10070 - Android: Landscape Left/Right handling is backwards
  • TIMOB-11709 - Android: String.formatTime causes app crash when date is string.
  • TIMOB-18500 - Android: event.cancel not set properly for optionsDialog
  • TIMOB-19878 - Orientation Change is not correctly detected on Android
  • TIMOB-20439 - Android: Using camera bloats app storage
  • TIMOB-23996 - Android: Can't package android modules with NDK r13 & r14
  • TIMOB-24297 - Android native modules build is getting failed with Android NDK r13b
  • TIMOB-24537 - TI Gestures not firing even on orientation change on Android
  • TIMOB-24679 - Android: Deprecate invalid proxy constants in 7.0.0
  • TIMOB-24866 - Android: Setting a TextField's "padding" resets its alignment to left/center
  • TIMOB-24937 - Android: Default module manifest template uses wrong API version
  • TIMOB-25021 - Android: Unable to release weak global references
  • TIMOB-25051 - Android. persistentObjects leak
  • TIMOB-25160 - Android O : CLI does not detect android O device's model & shows "android device" when "appc ti info" is run
  • TIMOB-25225 - Android: Touch Id authentication issue
  • TIMOB-25241 - Android: Ti.Network.createHTTPClient log 404 : Not Found error in application log
  • TIMOB-25242 - Android: V8Exception on launch
  • TIMOB-25323 - Android: Application can crash after exiting
  • TIMOB-25324 - Android: AssetManager will release when suspended to background
  • TIMOB-25374 - borderColor not visible on Android tiSDK 6.2.2
  • TIMOB-25382 - Android: Wrong thread error in DrawerLayout when not running on main thread
  • TIMOB-25384 - Android: extendBackground extends the screen below soft system navigation
  • TIMOB-25456 - Android: Crash after calling Stringify on Ti.UI.Window
  • TIMOB-25462 - Android: webview userAgent doesn't change
  • TIMOB-25467 - Android: "Ti.UI.Window.orientation" should return screen orientation in split-screen mode
  • TIMOB-25471 - TableView : java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.HashMap.containsKey(java.lang.Object)' on a null object reference
  • TIMOB-25487 - Android: Prevent kroll from removing null proxy object pointer
  • TIMOB-25501 - Android: App crash on receiving notification if app in background
  • TIMOB-25514 - Android: Vertical ScrollView.scrollTo() goes to wrong position when animated as of 6.2.2
  • TIMOB-25515 - Android: ScrollView.scrollTo() ignores "ti.ui.defaultunit" when animated
  • TIMOB-25525  - Android: Textfield focus issue with multiple textfields
  • TIMOB-25546 - Android: Simple Code Crash after installing Titanium SDK 7.0.0 Beta

iOS

  • TIMOB-9111 - TiAPI: Ti.Utils.base64encode() modified to not insert newlines in returned result
  • TIMOB-19040 - iOS9: Replace MPMoviePlayerController in Ti.Media.VideoPlayer with AVPlayerViewController
  • TIMOB-20404 - iOS: ProgressBar gets clipped in parent with height Ti.UI.SIZE
  • TIMOB-24994 - iOS: Remove Ti.UI.iOS.AdView
  • TIMOB-25005 - iOS: Remove Ti.UI.iPhone namespace
  • TIMOB-25024 - iOS: Remove <iphone> section from tiapp.xml
  • TIMOB-25449 - iOS: WebView content offset of 20 pixels when positioned at the top
  • TIMOB-25459 - iOS: toImage method needs parity with Android & Windows
  • TIMOB-25466 - setLargeTitleEnabled - unrecognized selector sent to instance
  • TIMOB-25491 - iOS: Ti.UI.SearchBar not slide down when set visible a view on top
  • TIMOB-25496 - iOS Document Viewer no longer allows sharing of pdf to other apps
  • TIMOB-25504 -2436h@3x Images on iPhone X are not used when -736h@3x exists
  • TIMOB-25519 - iOS: App can crash with unhandled Analytics SQLite error

Windows

  • TIMOB-23291 - Windows: Random Values while trying to decrypt value using AES encryption on device
  • TIMOB-24124 - Windows: Updating a tableView section with a headerView causes a layout issue
  • TIMOB-24832 - Windows: Unable to set a footerView or headerView on a TableView after data has been set
  • TIMOB-24858 - Windows: TableViewRow defaults to horizontal layout
  • TIMOB-24863 - Windows: TableView.filterAttribute does not work
  • TIMOB-24906 - Windows: Get an "Error device not found" error now and again when building to an Android emulator
  • TIMOB-25013 - Windows: Asserting the value returned from getPersonByIdentifier crashes an application
  • TIMOB-25027 - Windows: Remove deprecated property Ti.UI.View.enabled
  • TIMOB-25038 - (Windows) When "SearchBar.showCancel" Is used and the "X" is pressed text is removed but not "X"
  • TIMOB-25255 - Windows: Setting label.color to null causes label text to become transparent
  • TIMOB-25257 - Windows: Crash when adding tableview back to window
  • TIMOB-25275 - Windows: index property of TableView click event should be index of whole TableView and not section
  • TIMOB-25281 - Windows: Ti.Media.saveToPhotoGallery does not accept a blob
  • TIMOB-25282 - Windows: saveToPhotoGallery throws exception
  • TIMOB-25291 - Windows: Calling send with data will upgrade from a GET to a POST
  • TIMOB-25325 - Windows: Click event of Button does not provide X, Y coordinates
  • TIMOB-25326 - Windows: image property of ListItem should not overlay text
  • TIMOB-25327 - Windows: currentPage property of scrollableview.scrollend event is always 0
  • TIMOB-25460 - Windows: picker height not working

Multiple platforms

  • TIMOB-25010 - nodejs build script: npm install failing on linux and windows
  • TIMOB-25016 - Allow node-ios-device to be installed on Windows and Linux
  • TIMOB-25176 - CLI: SDK 7 broken on node 4
  • TIMOB-25328 - CLI: Option "Enable Javascript Minification" break code from SDK >= 6.1.1.G.A

Improvements

Android

  • TIMOB-10724 - Android: Modules: remove gperf as a build dependency
    • Removed gperf as an Android build dependency on Windows 7
  • TIMOB-18441 - Android: Add CLI option to override keystore signature algorithm
    • Added --sigalg option in the CLI for overriding keystore signing algorithm

  • TIMOB-23645 - Android notification: allow to set color of background
    • Added Color to Android notification color behind icon
  • TIMOB-25353 - Android: Move Play Services into a module
    • Moved Google Play Services to ti.playservices module
  • TIMOB-25441 - Android: Support ARM64
    • Added native support for ARM64
  • TIMOB-25448 - Android: Update module build tools to compile with Java 7
    • Updated module build tools to support Java 7 language features
  • TIMOB-25483 - Android: Add FACE_UP/FACE_DOWN support to Ti.Gesture
    • Added support for FACE_UP and FACE_DOWN for Android
  • TIMOB-25498 - Android: Deprecate getEventsInYear and getEventsInMonth 
    • Deprecated getEventsInYear() and getEventsInMonth() methods from Ti.Calendar.Calendar
  • TIMOB-25510 - Android: Lower min "targetSdkVersion" from 25 to 23
    • Due to file permission issues, this release pushed the targetSdkVersion back to 23 

iOS

  • TIMOB-23136 - iOS: Deprecate TiJScore / Kroll-Thread in SDK-Core
    • Deprecated TiJSCore. TiJSCore will be removed in SDK 8.0.0.
  • TIMOB-23495 - iOS: Support parent property on Ti.Filesystem.File
    • Added iOS parity for Ti.Filesystem.File.parent property
  • TIMOB-24327 - iOS: Implement AllowsMultipleSelectionWhenEditing and getSelectedRow in ListView
    • Implemented AllowMultipleSelectionWhenEditing property and getSelectedRows method
  • TIMOB-25195 - iOS: Improve native module template
    • Create new iOS modules in ios/ instead of iphone/
    • Use recommended build-settings like post-processing and assert-removal
    • Refactored the default readme attached to a module
    • Refactored and linted the default templates to match our clang-format
    • Prevent the README.md from the platform/ directory from being zipped
    • Added a .gitignore for default ignored files and directories
    • Updated the default license-headers to match Axway
  • TIMOB-25279 - iOS: Clean-up Titanium core, resolve all compiler warnings
    • Improved on the following Xcode 9 features:
      • Static analyser warnings
      • Fix some "missing localization" warnings by using NSLocalizedString
      • Fix unreachable code

Windows

  • TIMOB-24426 - Remove "Alert" title from alert()
    • Removed the "Alert" title from alert() function
  • TIMOB-24975 - Windows: SearchBar should show No Results text if there are no results in a search
    • SearchBar now displays "No Results" if there are no results from a search
  • TIMOB-25433 - Windows: Auto-detect requirement of cmake needing to be rerun in module build
    • Added feature that automatically builds the cmake directory if it doesn't exist. Use the --run-cmake command.

Multiple platforms

  • TIMOB-24000 - CLI: Module build should error if the apiversion in manifest does not match the SDKs apiversion
    • Added feature that the module build will announce an error if the apiversion in the manifest does not match the SDK's apiversion
  • TIMOB-25561 - CLI: Module build should error if the apiversion in manifest does not match the SDKs apiversion
    • Module build will throw an error if the apiversion is incorrect
  • TIMOB-25562 - CLI: Automatically migrate native Android modules to SDK 7 during module-build
    • Added feature that will migrate older module's apiversionminsdk, and version and create a backup of the manifest file (manifest.bak)

API changes

New APIs

The following APIs are new or have expanded platform support in Release 7.0.0 as of December 8th, 2017.

API
Type
Notes
Titanium.Android.IMPORTANCE_DEFAULT property

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

Titanium.Android.IMPORTANCE_HIGH property

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

Titanium.Android.IMPORTANCE_LOW property

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

Titanium.Android.IMPORTANCE_MAX property

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

Titanium.Android.IMPORTANCE_MIN property

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

Titanium.Android.IMPORTANCE_NONE property

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

Titanium.Android.IMPORTANCE_UNSPECIFIED property

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

Titanium.Android.Notification.color property

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

Titanium.Android.Notification.getColor method

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

Titanium.Android.Notification.setColor method

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

Titanium.Android.NotificationChannel object

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

Titanium.Android.QuickSettingsService object

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

Titanium.Android.TILE_STATE_ACTIVE property

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

Titanium.Android.TILE_STATE_INACTIVE property

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

Titanium.Android.TILE_STATE_UNAVAILABLE property

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

Titanium.Media.VIDEO_SCALING_RESIZE property

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_ASPECT property

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_FILL property

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.getShowsControls method

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

Titanium.Media.VideoPlayer.setShowsControls method

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

Titanium.Media.VideoPlayer.showsControls property

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

Titanium.Platform.getIdentifierForAdvertising method

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

Titanium.Platform.getIdentifierForVendor method

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

Titanium.Platform.getIsAdvertisingTrackingEnabled method

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

Titanium.Platform.identifierForAdvertising property

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

Titanium.Platform.identifierForVendor property

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

Titanium.Platform.isAdvertisingTrackingEnabled property

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

Titanium.Platform.setIdentifierForAdvertising method

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

Titanium.UI.ATTRIBUTE_BASELINE_OFFSET property

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

Titanium.UI.AUTOFILL_TYPE_ADDRESS property

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

Titanium.UI.AUTOFILL_TYPE_ADDRESS_CITY property

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

Titanium.UI.AUTOFILL_TYPE_ADDRESS_CITY_STATE property

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

Titanium.UI.AUTOFILL_TYPE_ADDRESS_LINE1 property

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

Titanium.UI.AUTOFILL_TYPE_ADDRESS_LINE2 property

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

Titanium.UI.AUTOFILL_TYPE_ADDRESS_STATE property

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

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_DATE property

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

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_DAY property

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

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_MONTH property

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

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_YEAR property

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

Titanium.UI.AUTOFILL_TYPE_CARD_NUMBER property

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

Titanium.UI.AUTOFILL_TYPE_CARD_SECURITY_CODE property

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

Titanium.UI.AUTOFILL_TYPE_COUNTRY_NAME property

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

Titanium.UI.AUTOFILL_TYPE_EMAIL property

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

Titanium.UI.AUTOFILL_TYPE_FAMILY_NAME property

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

Titanium.UI.AUTOFILL_TYPE_GIVEN_NAME property

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

Titanium.UI.AUTOFILL_TYPE_JOB_TITLE property

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

Titanium.UI.AUTOFILL_TYPE_LOCATION property

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_NAME property

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

Titanium.UI.AUTOFILL_TYPE_NAME property

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

Titanium.UI.AUTOFILL_TYPE_NAME_PREFIX property

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

Titanium.UI.AUTOFILL_TYPE_NAME_SUFFIX property

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

Titanium.UI.AUTOFILL_TYPE_NICKNAME property

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

Titanium.UI.AUTOFILL_TYPE_ORGANIZATION_NAME property

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

Titanium.UI.AUTOFILL_TYPE_PASSWORD property

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

Titanium.UI.AUTOFILL_TYPE_PHONE property

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

Titanium.UI.AUTOFILL_TYPE_POSTAL_CODE property

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

Titanium.UI.AUTOFILL_TYPE_SUBLOCALITY property

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

Titanium.UI.AUTOFILL_TYPE_URL property

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

Titanium.UI.AUTOFILL_TYPE_USERNAME property

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

Titanium.UI.ListView.allowsMultipleSelectionDuringEditing property

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.getAllowsMultipleSelectionDuringEditing method

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

Titanium.UI.ListView.getSelectedItems method

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

Titanium.UI.ListView.selectedItems property

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

Titanium.UI.ListView.setAllowsMultipleSelectionDuringEditing method

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

Titanium.UI.ListView.setSelectedItems method

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

Titanium.UI.ScrollView.getRefreshControl method

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

Titanium.UI.ScrollView.refreshControl property

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.scrollToTop method

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

Titanium.UI.ScrollView.setRefreshControl method

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

Titanium.UI.TextArea.autofillType property

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

Titanium.UI.TextArea.getAutofillType method

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

Titanium.UI.TextArea.getHintType method

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

Titanium.UI.TextArea.hintType property

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

Titanium.UI.TextArea.setAutofillType method

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

Titanium.UI.TextArea.setHintType method

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

Titanium.UI.TextField.autofillType property

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

Titanium.UI.TextField.getAutofillType method

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

Titanium.UI.TextField.getHintType method

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

Titanium.UI.TextField.hintType property

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

Titanium.UI.TextField.setAutofillType method

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

Titanium.UI.TextField.setHintType method

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

Titanium.UI.Window.extendSafeArea property

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.getExtendSafeArea method

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

Titanium.UI.Window.getLargeTitleDisplayMode method

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

Titanium.UI.Window.getLargeTitleEnabled method

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

Titanium.UI.Window.getSustainedPerformanceMode method

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

Titanium.UI.Window.largeTitleDisplayMode property

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

Titanium.UI.Window.largeTitleEnabled property

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

Titanium.UI.Window.setExtendSafeArea method

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

Titanium.UI.Window.setLargeTitleDisplayMode method

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

Titanium.UI.Window.setLargeTitleEnabled method

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

Titanium.UI.Window.setSustainedPerformanceMode method

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

Titanium.UI.Window.sustainedPerformanceMode property

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

Titanium.UI.iOS.LARGE_TITLE_DISPLAY_MODE_ALWAYS property

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_AUTOMATIC property

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_NEVER property

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



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.0 as of December 8th, 2017.

API
Type
Notes
Titanium.Calendar.Calendar.getEventsInMonth method

Use Titanium.Calendar.Calendar.getEventsBetweenDates instead.

Titanium.Calendar.Calendar.getEventsInYear method

Use Titanium.Calendar.Calendar.getEventsBetweenDates instead.

Titanium.Filesystem.File.getParent method

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_AUTHORIZED property

Use Titanium.Geolocation.AUTHORIZATION_ALWAYS as advised by Apple.

Titanium.Media.VideoPlayer.backgroundView property

Use Titanium.Media.VideoPlayer.overlayView instead.

Titanium.Media.VideoPlayer.getBackgroundView method

Use Titanium.Media.VideoPlayer.overlayView instead.

Titanium.Media.VideoPlayer.getLoadState method

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

Titanium.Media.VideoPlayer.loadState property

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

Titanium.Media.VideoPlayer.setBackgroundView method

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.0 as of December 8th, 2017.

API
Type
Notes
Titanium.Calendar.STATUS_CANCELLED property

Use Titanium.Calendar.STATUS_CANCELED instead.

Titanium.Media.CAMERA_AUTHORIZATION_NOT_DETERMINED property

Use Titanium.Media.CAMERA_AUTHORIZATION_UNKNOWN instead.

Titanium.Media.VIDEO_CONTROL_DEFAULT property

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

Titanium.Media.VIDEO_CONTROL_EMBEDDED property

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

Titanium.Media.VIDEO_CONTROL_FULLSCREEN property

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_OK property

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_STALLED property

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_AUDIO property

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

Titanium.Media.VIDEO_MEDIA_TYPE_NONE property

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

Titanium.Media.VIDEO_MEDIA_TYPE_VIDEO property

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

Titanium.Media.VIDEO_PLAYBACK_STATE_SEEKING_BACKWARD property

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_FORWARD property

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_FILL property

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_FIT property

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_FILL property

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

Titanium.Media.VIDEO_SCALING_NONE property

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_FILE property

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

Titanium.Media.VIDEO_SOURCE_TYPE_STREAMING property

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

Titanium.Media.VIDEO_SOURCE_TYPE_UNKNOWN property

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

Titanium.Media.VideoPlayer.fullscreen event

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

Titanium.Media.VideoPlayer.fullscreen property

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

Titanium.Media.VideoPlayer.getFullscreen method

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

Titanium.Media.VideoPlayer.getMediaControlStyle method

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

Titanium.Media.VideoPlayer.getSourceType method

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

Titanium.Media.VideoPlayer.mediaControlStyle property

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

Titanium.Media.VideoPlayer.mediatypesavailable event

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

Titanium.Media.VideoPlayer.setFullscreen method

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

Titanium.Media.VideoPlayer.setMediaControlStyle method

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

Titanium.Media.VideoPlayer.setSourceType method

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

Titanium.Media.VideoPlayer.sourcechange event

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

Titanium.Media.VideoPlayer.sourceType property

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

Titanium.Network.INADDR_ANY property  
Titanium.UI.iPhone object

Use the unified Titanium.UI.iOS namespace instead.

Titanium.UI.iPhone.ActivityIndicatorStyle object

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

Titanium.UI.iPhone.AlertDialogStyle object

Use Titanium.UI.iOS.AlertDialogStyle instead.

Titanium.UI.iPhone.AnimationStyle object

Use Titanium.UI.iOS.AnimationStyle instead.

Titanium.UI.iPhone.ListViewCellSelectionStyle object

Use Titanium.UI.iOS.ListViewCellSelectionStyle instead.

Titanium.UI.iPhone.ListViewScrollPosition object

Use Titanium.UI.iOS.ListViewScrollPosition instead.

Titanium.UI.iPhone.ListViewSeparatorStyle object

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

Titanium.UI.iPhone.ListViewStyle object

Use Titanium.UI.iOS.ListViewStyle instead.

Titanium.UI.iPhone.ProgressBarStyle object

Use Titanium.UI.iOS.ProgressBarStyle instead.

Titanium.UI.iPhone.RowAnimationStyle object

Use Titanium.UI.iOS.RowAnimationStyle instead.

Titanium.UI.iPhone.ScrollIndicatorStyle object

Use Titanium.UI.iOS.ScrollIndicatorStyle instead.

Titanium.UI.iPhone.SystemButton object

Use Titanium.UI.iOS.SystemButton instead.

Titanium.UI.iPhone.SystemButtonStyle object

Use Titanium.UI.iOS.SystemButtonStyle instead.

Titanium.UI.iPhone.SystemIcon object

Use Titanium.UI.iOS.SystemIcon instead.

Titanium.UI.iPhone.TableViewCellSelectionStyle object

Use Titanium.UI.iOS.TableViewCellSelectionStyle instead.

Titanium.UI.iPhone.TableViewScrollPosition object

Use Titanium.UI.iOS.TableViewScrollPosition instead.

Titanium.UI.iPhone.TableViewSeparatorStyle object

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

Titanium.UI.iPhone.TableViewStyle object

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

Related Links