@@ -184,16 +184,12 @@ Community support and discussion about Titanium is available on Slack at [TiSlac
Please consider following [@Appcelerator](http://www.twitter.com/appcelerator) and [@AppcDev](https://twitter.com/AppcDev) on Twitter for updates.
-### Blog
-
-The Appcelerator blog is located at (http://www.appcelerator.com/blog).
-
### Commercial Support, Licensing
We give our software away for FREE! In order to do that, we have programs for
companies that require additional level of assistance through training or commercial support,
need special licensing or want additional levels of capabilities. Please visit the
-[Appcelerator Website](http://www.appcelerator.com) for more information about Appcelerator or
+[Appcelerator Website](http://www.titaniumsdk.com) for more information about Appcelerator or
email [info@appcelerator.com](mailto:info@appcelerator.com).
## Contributing
diff --git a/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java b/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java
index 53cab198aca..e4fb436eb71 100644
--- a/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java
+++ b/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java
@@ -902,10 +902,10 @@ public void open(String method, String url)
// The Android Uri doesn't seem to handle user ids with at-signs (@) in them
// properly, even if the @ is escaped. It will set the host (uri.getHost()) to
// the part of the user name after the @. For example, this Uri would get
- // the host set to appcelerator.com when it should be mickey.com:
- // http://testuser@appcelerator.com:password@mickey.com/xx
+ // the host set to example.com when it should be mickey.com:
+ // http://testuser@example.com:password@mickey.com/xx
// ... even if that first one is escaped to ...
- // http://testuser%40appcelerator.com:password@mickey.com/xx
+ // http://testuser%40example.com:password@mickey.com/xx
// Tests show that Java URL handles it properly, however. So revert to using Java URL.getHost()
// if we see that the Uri.getUserInfo has an at-sign in it.
// Also, uri.getPort() will throw an exception as it will try to parse what it thinks is the port
diff --git a/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java b/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java
index c997ac999bb..bfe4f823c0d 100644
--- a/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java
+++ b/android/titanium/src/java/org/appcelerator/kroll/KrollProxy.java
@@ -39,7 +39,7 @@
/**
* This is the parent class of all proxies. A proxy is a dynamic object that can be created or
* queried by the user through a module or another proxy's API. When you create a native view with
- * Titanium.UI.createView ,
+ * Titanium.UI.createView ,
* the view object is a proxy itself.
*/
@Kroll.proxy(name = "KrollProxy", propertyAccessors = { KrollProxy.PROPERTY_HAS_JAVA_LISTENER })
diff --git a/apidoc/Global/Global.yml b/apidoc/Global/Global.yml
index bf9f527a249..a45e604cd83 100644
--- a/apidoc/Global/Global.yml
+++ b/apidoc/Global/Global.yml
@@ -136,7 +136,7 @@ methods:
3. Initialize the module with the `require` method by passing the module ID to the method.
For detailed instructions, refer to
- [Using a Module](https://docs.appcelerator.com/platform/latest/#!/guide/Using_a_Module).
+ [Using a Module](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Using_Modules/Using_a_Module.html).
#### CommonJS Module
diff --git a/apidoc/Titanium/Android/ActionBar.yml b/apidoc/Titanium/Android/ActionBar.yml
index 60c2cb3ee91..7a64cf0c783 100644
--- a/apidoc/Titanium/Android/ActionBar.yml
+++ b/apidoc/Titanium/Android/ActionBar.yml
@@ -17,7 +17,7 @@ description: |
to true disables the Action Bar since it is part of the navigation title bar.
For more examples on using the Action Bar, refer to the
- [Android Action Bar guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Action_Bar).
+ [Android Action Bar guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Action_Bar.html).
#### Application Notes for Alloy
@@ -123,7 +123,7 @@ methods:
[setDisplayShowHomeEnabled](https://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowHomeEnabled(boolean))
in the Android API Reference.
since: "3.3.0"
-
+
- name: setDisplayShowTitleEnabled
summary: Shows or hides the action bar title/subtitle
parameters:
@@ -135,7 +135,7 @@ methods:
[setDisplayShowTitleEnabled](https://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowTitleEnabled(boolean))
in the Android API Reference.
since: "3.3.0"
-
+
- name: show
summary: Shows the action bar if it is currently hidden.
description: |
diff --git a/apidoc/Titanium/Android/Android.yml b/apidoc/Titanium/Android/Android.yml
index a40e3c3ae29..73b0abb3f19 100644
--- a/apidoc/Titanium/Android/Android.yml
+++ b/apidoc/Titanium/Android/Android.yml
@@ -36,7 +36,7 @@ description: |
mode changes.
For more information about broadcasts, see the
- [Android Broadcast Intents and Receivers guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Broadcast_Intents_and_Receivers)
+ [Android Broadcast Intents and Receivers guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Broadcast_Intents_and_Receivers.html)
and [Titanium.Android.BroadcastReceiver API reference](Titanium.Android.BroadcastReceiver).
#### Intents
@@ -54,7 +54,7 @@ description: |
can define intent filters to let Android know your application can handle those data types.
For more information about intent filters, see the
- [Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters).
+ [Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html).
#### Notifications
diff --git a/apidoc/Titanium/Android/BroadcastReceiver.yml b/apidoc/Titanium/Android/BroadcastReceiver.yml
index b94b95b497d..df933a147c2 100644
--- a/apidoc/Titanium/Android/BroadcastReceiver.yml
+++ b/apidoc/Titanium/Android/BroadcastReceiver.yml
@@ -42,7 +42,7 @@ description: |
Further Reading:
- * [Android Broadcast Intents and Receivers guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Broadcast_Intents_and_Receivers)
+ * [Android Broadcast Intents and Receivers guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Broadcast_Intents_and_Receivers.html#create-a-broadcast-intent)
* [Android Developers: Broadcast Receivers](https://developer.android.com/reference/android/content/BroadcastReceiver.html).
diff --git a/apidoc/Titanium/Android/Intent.yml b/apidoc/Titanium/Android/Intent.yml
index 0a752581408..27612ac78cc 100644
--- a/apidoc/Titanium/Android/Intent.yml
+++ b/apidoc/Titanium/Android/Intent.yml
@@ -10,7 +10,7 @@ description: |
To receive an intent, an application needs to declare an Intent Filter. An intent filter
indicates to the Android OS that your application can handle certain data types or URIs.
For details on using Intent Filters, see the
- [Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters).
+ [Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html).
Intents can be used to start an activity, start a service or start a broadcast.
@@ -101,7 +101,7 @@ description: |
#### Further Reading
- * [Android Intents guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intents)
+ * [Android Intents guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html)
* [Android Developer: Intent](https://developer.android.com/reference/android/content/Intent.html)
extends: Titanium.Proxy
@@ -346,7 +346,7 @@ examples:
After copying the default root activity of your application from the `AndroidManifest.xml`
file to the Android manifest section of the `tiapp.xml` file, add an intent filter.
For detailed instructions, refer to the
- [Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters).
+ [Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html).
You can trigger this intent filter by long pressing on an image in the Android gallery
and selecting "share".
diff --git a/apidoc/Titanium/Android/Menu.yml b/apidoc/Titanium/Android/Menu.yml
index 84b4020e229..25c672c2fe3 100644
--- a/apidoc/Titanium/Android/Menu.yml
+++ b/apidoc/Titanium/Android/Menu.yml
@@ -64,7 +64,7 @@ description: |
On Android 3.0 and later, menu items can be displayed as _action items_ in the action
bar. To enable this, the application must be built with a theme that supports the
action bar, such as the Holo theme. (See
- [Android Themes](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes) in
+ [Android Themes](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Themes.html) in
the Titanium Guides for information on setting your application's theme.)
For menu items displayed in the menu, the `onCreateOptionsMenu` function is called
diff --git a/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml b/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml
index bac6431c697..67e468c0714 100644
--- a/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml
+++ b/apidoc/Titanium/Android/NotificationManager/NotificationManager.yml
@@ -7,7 +7,7 @@ description: |
Further Reading:
- * [Android Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Notifications)
+ * [Android Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/Android_Notifications.html)
* [Android Developer: Notifications](https://developer.android.com/guide/topics/ui/notifiers/notifications.html)
extends: Titanium.Module
platforms: [android]
diff --git a/apidoc/Titanium/Android/Service.yml b/apidoc/Titanium/Android/Service.yml
index c17635d9d6b..e8d95de0742 100644
--- a/apidoc/Titanium/Android/Service.yml
+++ b/apidoc/Titanium/Android/Service.yml
@@ -32,9 +32,9 @@ description: |
Further Reading:
- * [Android Services guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Services)
+ * [Android Services guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Services.html)
* [Android Developer: Service](https://developer.android.com/reference/android/app/Service.html)
-
+
### Background Location Service Example
In order to obtain location events while the application is backgrounded a foreground service must be used.
Below is an example of a simple background location service.
@@ -81,10 +81,10 @@ description: |
// Set accuracy to high
Ti.Geolocation.accuracy = Ti.Geolocation.ACCURACY_HIGH;
-
+
// Enable manual configuration via location providers.
Ti.Geolocation.Android.manualMode = true;
-
+
// Define a location provider.
Ti.Geolocation.Android.addLocationProvider(
Ti.Geolocation.Android.createLocationProvider({
@@ -93,7 +93,7 @@ description: |
minUpdateTime: 5000
})
);
-
+
function getLocation () {
// Create location event listener.
@@ -141,7 +141,7 @@ description: |
backgroundServiceBtn.title = 'START BACKGROUND SERVICE';
}
}
-
+
win.addEventListener('open', () => {
// Request location permissions.
@@ -178,7 +178,7 @@ description: |
stopBackgroundLocationService();
}
});
-
+
win.add([backgroundServiceBtn, listView]);
win.open();
```
diff --git a/apidoc/Titanium/App/App.yml b/apidoc/Titanium/App/App.yml
index 7ade5e04789..871803a3ac3 100644
--- a/apidoc/Titanium/App/App.yml
+++ b/apidoc/Titanium/App/App.yml
@@ -138,7 +138,7 @@ description: |
This can lead to memory leaks if application-level event listeners are added and not
removed.
- See also: [Event Handling](https://docs.appcelerator.com/platform/latest/#!/guide/Event_Handling)
+ See also: [Event Handling](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Fundamentals/Event_Handling.html)
in the Titanium Mobile Guides.
#### System Level Accessibility Events
@@ -291,7 +291,7 @@ events:
- name: backtrace
summary: The backtrace of function calls when the error occurred.
type: String
- deprecated:
+ deprecated:
since: "8.0.0"
removed: "8.0.0"
notes: Use the `stack` property instead.
@@ -311,7 +311,7 @@ events:
- name: lineOffset
summary: The offset on the line where the error occurred. (Deprecated since 9.0.0. Use `column` instead.)
type: Number
- deprecated:
+ deprecated:
since: "9.0.0"
notes: Use `column` property for cross-platform parity.
platforms: [android]
@@ -319,7 +319,7 @@ events:
summary: The javascript stack trace of the exception. (Deprecated since 9.0.0. Use `stack` instead.)
type: String
since: "8.0.0"
- deprecated:
+ deprecated:
since: "9.0.0"
notes: Use `stack` property for cross-platform parity.
platforms: [android]
@@ -327,7 +327,7 @@ events:
summary: The java stack trace of the exception. (Deprecated since 9.0.0. Use `nativeStack` instead.)
type: String
since: "8.0.0"
- deprecated:
+ deprecated:
since: "9.0.0"
notes: Use `nativeStack` property for cross-platform parity.
platforms: [android]
diff --git a/apidoc/Titanium/App/iOS/iOS.yml b/apidoc/Titanium/App/iOS/iOS.yml
index b2e0a650fae..658da7f1c91 100644
--- a/apidoc/Titanium/App/iOS/iOS.yml
+++ b/apidoc/Titanium/App/iOS/iOS.yml
@@ -22,7 +22,7 @@ description: |
notification.
For instructions on sending local interactive notifications, see the
- [iOS Local Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Local_Notifications).
+ [iOS Local Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/iOS_Local_Notifications.html).
### Local Interactive Notifications
@@ -41,7 +41,7 @@ description: |
4. Monitor the [localnotificationaction](Titanium.App.iOS.localnotificationaction) event.
For instructions on sending local interactive notifications, see the
- [iOS Local Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Local_Notifications).
+ [iOS Local Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/iOS_Local_Notifications.html).
### Background Downloads
@@ -49,7 +49,7 @@ description: |
content in the background. These background modes are supported in Titanium SDK 3.2.0 and later.
For more information on getting started, refer to the
- [iOS Background Services guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Background_Services).
+ [iOS Background Services guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/iOS_API_Deep_Dives/iOS_Background_Services.html).
### Handoff User Activities
@@ -1258,7 +1258,7 @@ events:
summary: |
The response text for [task](Modules.URLSession.task) and [uploadTask](Modules.URLSession.uploadTask).
This property does not exhist for download task. For download task response,
- use [downloadcompleted](Titanium.App.iOS.downloadcompleted) event.
+ use [downloadcompleted](Titanium.App.iOS.downloadcompleted) event.
type: String
since: "7.2.0"
diff --git a/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc b/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc
index 97f110fd122..b630c86d25f 100644
--- a/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc
+++ b/apidoc/Titanium/CHANGELOG/2.0.1.GA.mdoc
@@ -21,10 +21,10 @@
## About This Release
Titanium Mobile SDK Release 2.0.1 is a feature release of the Titanium Mobile SDK, including
-several new features and a number of bug fixes and parity improvements.
+several new features and a number of bug fixes and parity improvements.
-_This is Release 2.0.1.GA Revision 2. The initial 2.0.1.GA release was missing the
-Appcelerator Cloud Services modules (Titanium.Cloud and Titanium.CloudPush).
+_This is Release 2.0.1.GA Revision 2. The initial 2.0.1.GA release was missing the
+Appcelerator Cloud Services modules (Titanium.Cloud and Titanium.CloudPush).
If you installed the initial GA release, please install this version to receive the ACS
modules._
@@ -46,7 +46,7 @@ releases:
* [Release Notes for Release 1.8.1](https://docs.appcelerator.com/titanium/release-notes/?version=1.8.1)
* [Release Notes for Release 1.8.2](https://docs.appcelerator.com/titanium/release-notes/?version=1.8.2)
-
+
Note that Release 1.8.1 included fixes related to developing modules. If you are developing iOS or Android modules, see the 1.8.1 Release Notes for more information.
Further information is available in the [Titanium Mobile SDK and Titanium Studio Documentation](https://docs.appcelerator.com/titanium/2.0/).
@@ -61,7 +61,7 @@ Further information is available in the [Titanium Mobile SDK and Titanium Studio
* Mobile Web Platform Release Candidate
-* Android Geolocation Enhancements
+* Android Geolocation Enhancements
* Defined Module APIs for Android and iOS
@@ -70,21 +70,21 @@ Further information is available in the [Titanium Mobile SDK and Titanium Studio
### Layout System Updates
This release implements the [Composite Layout
-Specification](https://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec),
+Specification](https://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec),
a major update to the UI layout system. The composite layout specification involves
-several changes to the way the UI system lays out controls, so that all platforms can
+several changes to the way the UI system lays out controls, so that all platforms can
follow a common layout model.
The major changes to the layout system involve:
* Improved handling for automatic sizing of views
* Batch layout updates for improved performance
-* Post-layout event generated when layout is complete
+* Post-layout event generated when layout is complete
* New precedence order for layout parameters
These changes affect UI behavior on all platforms, and may require application changes.
-For details, see [Transitioning to the New UI Layout System](https://docs.appcelerator.com/titanium/2.0/index.html#!/guide/Transitioning_to_the_New_UI_Layout_System)
+For details, see [Transitioning to the New UI Layout System](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Contributing_to_Titanium/Platform_Development/Specs/UI_Composite_Layout_Behavior_Spec.html)
in the Titanium Mobile Guides.
@@ -92,7 +92,7 @@ in the Titanium Mobile Guides.
### Appcelerator Cloud Services Support
This release includes bundled Titanium modules for using Appcelerator Cloud Services
-(ACS). ACS provides a range of backend services for mobile applications, including
+(ACS). ACS provides a range of backend services for mobile applications, including
user management, social integration, data storage and push notifications.
The ACS modules are documented in the main API reference, but they are not included
@@ -105,10 +105,10 @@ module:
var Push = require('ti.cloudpush');
-To use ACS services, you must enable ACS for your project. See
+To use ACS services, you must enable ACS for your project. See
[Appcelerator Cloud
Services](https://docs.appcelerator.com/titanium/2.0/#!/guide/Appcelerator_Cloud_Services)
-in the Titanium Mobile Guides
+in the Titanium Mobile Guides
for details on how to enable ACS in a Titanium project.
For further documentation and examples of using ACS in Titanium, see the API reference for
@@ -122,50 +122,50 @@ visit [cloud.appcelerator.com](http://cloud.appcelerator.com).
### Mobile Web Release Candidate Status
The Mobile Web platform is now officially in Release Candidate status.
-The majority of the Titanium Mobile API is now implemented for Mobile Web.
+The majority of the Titanium Mobile API is now implemented for Mobile Web.
-Specifically, Mobile Web implements a cross-platform subset of the
+Specifically, Mobile Web implements a cross-platform subset of the
Titanium Mobile APIs, excluding any platform-specific APIs **and** any APIs
that require features not available to applications running in a browser.
The following features are not yet implemented for Mobile Web, but will be supported
in a future release:
-* `Titanium.Database`
-* `Titanium.Media.AudioPlayer`
-* `Titanium.Media.Sound`
-* `Titanium.Network.Socket`
-* `Titanium.Network.Socket.TCP`
-* `Titanium.Stream`
+* `Titanium.Database`
+* `Titanium.Media.AudioPlayer`
+* `Titanium.Media.Sound`
+* `Titanium.Network.Socket`
+* `Titanium.Network.Socket.TCP`
+* `Titanium.Stream`
* `Titanium.UI.SearchBar`
* `Titanium.Locale` -- local locale specific date/currency formatting is not yet
implemented. Localized messages are implemented.
-The following UI controls are not implemented because they are platform-specific controls that
+The following UI controls are not implemented because they are platform-specific controls that
have not yet been moved to a platform-specific namespace.
-* `Titanium.UI.ButtonBar`
-* `Titanium.UI.MaskedImage`
-* `Titanium.UI.Notification`
-* `Titanium.UI.3DMatrix`
+* `Titanium.UI.ButtonBar`
+* `Titanium.UI.MaskedImage`
+* `Titanium.UI.Notification`
+* `Titanium.UI.3DMatrix`
-Finally, the `Titanium.Contacts` module is not supported because no standard exists to
+Finally, the `Titanium.Contacts` module is not supported because no standard exists to
expose a device's contacts data to applications running in the browser.
Certain APIs are subject to limitations on Mobile Web because of the constraints
-imposed on application running in the browser. For more information, see
+imposed on application running in the browser. For more information, see
[Mobile Web Limitations](https://docs.appcelerator.com/titanium/#!/guide/Mobile_Web_Limitations).
### Android Geolocation Enhancements and Geolocation Simple Mode
-This release includes several improvements for geolocation on Android, and a new
+This release includes several improvements for geolocation on Android, and a new
"simple mode" for geolocation that is supported on Android, iOS, and Mobile Web.
* Simple mode has two `accuracy` settings, `ACCURACY_HIGH` and `ACCURACY_LOW`.
This provides a simple, cross-platform mode for configuring location updates.
- This is the only mode supported on Mobile Web. On iOS and Android, this
+ This is the only mode supported on Mobile Web. On iOS and Android, this
mode should only be used for applications with basic location requirements.
* For applications that have more demanding location requirements on Android,
@@ -195,12 +195,12 @@ you can find them at the following locations:
## Known Issues
-This section lists the most notable known issues and regressions in this release.
+This section lists the most notable known issues and regressions in this release.
* iOS: WebView canGoBack/canGoForward does not work for local files.
([TIMOB-7965](https://jira.appcelerator.org/browse/TIMOB-7965))
-* iOS: VideoPlayer does not fire touch events. This was a regression in
+* iOS: VideoPlayer does not fire touch events. This was a regression in
Release 1.8.1. ([TIMOB-8486](https://jira.appcelerator.org/browse/TIMOB-8486))
* Android: Titanium.CloudPush module does not work with Android OS 3.0 and newer.
@@ -213,7 +213,7 @@ This section lists the most notable known issues and regressions in this release
*New Features*
-* Geolocation enhancements. See
+* Geolocation enhancements. See
[Android Geolocation Enhancements and Geolocation Simple Mode](#geo).
* Support for Android SDK Tools Revision 17, Revision 18, and Revision 19.
@@ -224,31 +224,31 @@ This section lists the most notable known issues and regressions in this release
1.8.1. ([TIMOB-6586](https://jira.appcelerator.org/browse/TIMOB-6586))
* Several fixes related to WebViews:
-
+
* Improved handling of local URLs inside WebView, including correctly handling
forward/back for local URLs
([TIMOB-8028](https://jira.appcelerator.org/browse/TIMOB-8028)); and resolving
- a crash that occurred when reopening a local URL
+ a crash that occurred when reopening a local URL
([TIMOB-8144](https://jira.appcelerator.org/browse/TIMOB-8144)).
* Fixed a regression where a WebView reloaded when it was removed from the
view hierarchy, and then re-added.
([TIMOB-7808](https://jira.appcelerator.org/browse/TIMOB-7808)).
- * Fixed a web view crash that occurred when handling the back button.
+ * Fixed a web view crash that occurred when handling the back button.
([TIMOB-7695](https://jira.appcelerator.org/browse/TIMOB-7695)).
* Resolved a crash when reusing a web view on an activity window.
([TIMOB-8267](https://jira.appcelerator.org/browse/TIMOB-8267))
* Resolved several issues related to the `html` property.
- ([TIMOB-974](https://jira.appcelerator.org/browse/TIMOB-974) and
+ ([TIMOB-974](https://jira.appcelerator.org/browse/TIMOB-974) and
[TIMOB-7840](https://jira.appcelerator.org/browse/TIMOB-7840))
-* Improved open event handling for tabs.
+* Improved open event handling for tabs.
([TIMOB-8192](https://jira.appcelerator.org/browse/TIMOB-8192))
-For a complete list of Android fixes in this release, see:
+For a complete list of Android fixes in this release, see:
[Fixed Android Issues in JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12744)
@@ -269,10 +269,10 @@ The following section lists notable bug fixes in iOS.
* Improved CommonJS module encoding.
* `Titanium.Platform.id` now returns a per-application unique ID, instead of
- the Apple UDID.
-
- This change was required because Apple has changed its policies, and apps using UDID
- may now be rejected from the app store.
+ the Apple UDID.
+
+ This change was required because Apple has changed its policies, and apps using UDID
+ may now be rejected from the app store.
([TIMOB-8173](https://jira.appcelerator.org/browse/TIMOB-8173))
* Newsstand content notifications. ([TIMOB-5910](https://jira.appcelerator.org/browse/TIMOB-5910))
@@ -284,32 +284,32 @@ The following section lists notable bug fixes in iOS.
* Fixed "suspend" and "resume" behavior. ([TIMOB-4538](https://jira.appcelerator.org/browse/TIMOB-4538))
* Several App verification fixes. ([TIMOB-6575](https://jira.appcelerator.org/browse/TIMOB-6575),
[TIMOB-7674](https://jira.appcelerator.org/browse/TIMOB-7674)))
-* Fixed numerous crashes. ([TIMOB-8105](https://jira.appcelerator.org/browse/TIMOB-8105),
- [TIMOB-8102](https://jira.appcelerator.org/browse/TIMOB-8102),
- [TIMOB-8081](https://jira.appcelerator.org/browse/TIMOB-8081),
+* Fixed numerous crashes. ([TIMOB-8105](https://jira.appcelerator.org/browse/TIMOB-8105),
+ [TIMOB-8102](https://jira.appcelerator.org/browse/TIMOB-8102),
+ [TIMOB-8081](https://jira.appcelerator.org/browse/TIMOB-8081),
[TIMOB-7334](https://jira.appcelerator.org/browse/TIMOB-7334))
-* Fixed memory leaks and garbage collection issues.
- ([TIMOB-7644](https://jira.appcelerator.org/browse/TIMOB-7644),
- [TIMOB-7642](https://jira.appcelerator.org/browse/TIMOB-7642),
+* Fixed memory leaks and garbage collection issues.
+ ([TIMOB-7644](https://jira.appcelerator.org/browse/TIMOB-7644),
+ [TIMOB-7642](https://jira.appcelerator.org/browse/TIMOB-7642),
[TIMOB-7467](https://jira.appcelerator.org/browse/TIMOB-7467),
[TIMOB-6463](https://jira.appcelerator.org/browse/TIMOB-6463))
* HTTP client support for Shift_JIS, EUC-JP encodings.
([TIMOB-6835](https://jira.appcelerator.org/browse/TIMOB-6835))
-For a complete list of iOS fixes in this release, see:
+For a complete list of iOS fixes in this release, see:
[Fixed iOS Issues in JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12745).
### Using Xcode 4.3
-In previous releases of Xcode, when a new version of Xcode was installed, the installer
+In previous releases of Xcode, when a new version of Xcode was installed, the installer
invoked the `xcode-select` command to set the new version of Xcode as the active version.
With Xcode 4.3, Xcode is installed by default in a different directory (under
/Applications instead of under /Developer), and it does not run `xcode-select` to update
the Xcode path. If you have both Xcode 4.2 and Xcode 4.3 installed, you will need
-to run `xcode-select` manually to determine which version of Xcode is used.
+to run `xcode-select` manually to determine which version of Xcode is used.
To select Xcode 4.3, run the following command:
@@ -326,12 +326,12 @@ specify the appropriate path in the command.
## Mobile Web Fixes and Enhancements
-With this release, the Mobile Web platform is a Release Candidate. See
-[Mobile Web Platform Release Candidate Status](#mobileweb_rc) for a summary of
+With this release, the Mobile Web platform is a Release Candidate. See
+[Mobile Web Platform Release Candidate Status](#mobileweb_rc) for a summary of
what is currently supported in Mobile Web as well as known limitations.
For a complete list of Mobile Web fixes in this release, see: [Fixed Mobile Web Issues in
-JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12746).
+JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12746).
@@ -347,8 +347,7 @@ unified documentation site for the Titanium Mobile SDK and Titanium Studio:
* Left-hand navigation tree occasionally stops scrolling. Reloading the site should
fix this problem.
* Display anomalies when a large number of tabs are open.
-
+
For a complete list of documentation fixes in this release, see:
[Fixed Documentation Issues in JIRA](https://jira.appcelerator.org/secure/IssueNavigator.jspa?mode=hide&requestId=12748)
-
diff --git a/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc b/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc
index af4a7778931..896e96d61b1 100644
--- a/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc
+++ b/apidoc/Titanium/CHANGELOG/4.0.0.GA.mdoc
@@ -46,10 +46,10 @@ with this Release.
* [Contacts](#contacts)
* [Split Window](#split_window)
* [User Defaults](#user_defaults)
- * [Known Issues](#known_issues)
+ * [Known Issues](#known_issues)
* [Cannot Preview Mobile Web Application in Studio](#web_server)
* [Fail to Encrypt JavaScript Files on Windows](#windows_java)
- * [API Changes](#apis)
+ * [API Changes](#apis)
* [New APIs](#new_apis)
* [Deprecated APIs](#deprecated_apis)
* [Removed APIs](#removed_apis)
@@ -67,15 +67,15 @@ This release includes over 150 bug fixes and improvements, see the [full list of
### Alloy 1.6.0
This release coincides with the release of Alloy 1.6.0.
-
+
**Summary of New Features:**
-
+
* Support for Backbone 1.1.2
* Upgrade to Underscore 1.6.0
* Update extract-i18n command to extract localized strings from XML files in addition to JavaScript and TSS files
* XML Markup/TSS Enhancements:
* Set the `Titanium.Android.MenuItem.actionView` property in XML Markup using the <ActionView/> element
-
+
For more details, see the Alloy [Changelog](https://github.com/appcelerator/alloy/blob/1_6_X/CHANGELOG.md).
@@ -107,7 +107,7 @@ This Release coincides with the release of Studio 4.0.0.
For more details, see the [Studio Release Notes](https://docs.appcelerator.com/platform/latest/#!/guide/Studio_Release_Notes).
-## Notice of Feature or Behavior Changes
+## Notice of Feature or Behavior Changes
### Android Platform
@@ -144,7 +144,7 @@ This section lists changes for the iOS platform.
#### iOS Attributed String
-Since Android supports attributed strings, the `Titanium.UI.iOS.AttributedString` class is deprecated and a new [Titanium.UI.AttributedString](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.AttributedString) class was added. The new class behaves the same as the old class. If you currently use attributed strings in your application, just remove the iOS namespace. Note that Android only supports a subset of attributes as compared to iOS.
+Since Android supports attributed strings, the `Titanium.UI.iOS.AttributedString` class is deprecated and a new [Titanium.UI.AttributedString](https://titaniumsdk.com/api/titanium/ui/attributedstring.html) class was added. The new class behaves the same as the old class. If you currently use attributed strings in your application, just remove the iOS namespace. Note that Android only supports a subset of attributes as compared to iOS.
The Label `link` event now responds to a single tap rather than a long press.
@@ -168,7 +168,7 @@ This section lists new features and improvements only available on the Android p
#### Attributed String
-As of this Release, the Android platform supports attributed strings using the [Titanium.UI.AttributedString](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.AttributedString) class. Previously, this feature was only available for iOS.
+As of this Release, the Android platform supports attributed strings using the [Titanium.UI.AttributedString](https://titaniumsdk.com/api/titanium/ui/attributedstring.html) class. Previously, this feature was only available for iOS.
For more details, see the [Attributed String guide](https://docs.appcelerator.com/platform/latest/#!/guide/Attributed_Strings).
@@ -180,7 +180,7 @@ Starting with this Release, the Titanium SDK exposes the Material Theme color pa
To use the Material Theme with Titanium, you need to create a custom theme that extends one of the AppCompat themes, then set the color palette attributes you want to change from the default theme.
For details, see the "Material Theme" section in the
-[Android Themes guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes).
+[Android Themes guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Themes.html).
#### Module Lifecycle Hooks
@@ -201,8 +201,8 @@ The `Titanium.Android.Notifications` class exposes the following new properties:
* [priority](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.Notification-property-priority): Set to a `Titanium.Android.PRIORITY_*` constant to determine where the notification is displayed in the drawer. Supported on Android 4.1 and greater.
* [visibility](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.Notification-property-visibility): Set to a `Titanium.Android.VISIBILITY_*` constant to filter notifications in the lock screen. Supported on Android 5.0 and greater.
-For details, see the
-[Android Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Notifications).
+For details, see the
+[Android Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/Android_Notifications.html).
#### Scrollable Tabs
@@ -221,7 +221,7 @@ This Release adds support for scrollable tabs, where users can swipe to navigate
This Release adds support for the split action bar, which displays action items in a separate bar at the bottom of the window instead of at the top. To create a split action bar, set the
[splitActionBar property](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Window-property-splitActionBar)
-to `true` when creating a Window object.
+to `true` when creating a Window object.
#### TLS Support
@@ -246,7 +246,7 @@ The following `Titanium.Media.VideoPlayer` methods are exposed to the Android pl
Previously, this feature was only available for iOS.
-
+
### Facebook Module
@@ -504,8 +504,8 @@ the last selected tab window is shown.
Titanium.UI.Window.getSplitActionBar
method
Gets the value of the splitActionBar property. (New API, supported on Android.)
Titanium.UI.Window.splitActionBar
property
Boolean value to enable split action bar. (New API, supported on Android.)
Titanium.UI.createAttributedString
method
Creates and returns an instance of Titanium.UI.AttributedString. (New API, supported on iPhone, iPad and Android.)
-
Titanium.UI.iOS.SplitWindow
object
A SplitWindow is a window that manages the presentation of two side-by-side view
-controllers.
+
Titanium.UI.iOS.SplitWindow
object
A SplitWindow is a window that manages the presentation of two side-by-side view
+controllers.
(New API, supported on iPhone and iPad.)
Titanium.UI.iOS.createSplitWindow
method
Creates and returns an instance of Titanium.UI.iOS.SplitWindow. (New API, supported on iPhone and iPad.)
diff --git a/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc b/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc
index 136992cd662..7fd132e43ac 100644
--- a/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc
+++ b/apidoc/Titanium/CHANGELOG/4.1.0.GA.mdoc
@@ -24,10 +24,10 @@
* [Tab](#tab)
* [Region Locale](#region_locale)
* [Uncaught Errors](#uncaught_errors)
- * [Known Issues](#known_issues)
+ * [Known Issues](#known_issues)
* [iOS Calendar Status Constants](#ios_constants)
* [Windows Platform](#windows_issues)
- * [API Changes](#apis)
+ * [API Changes](#apis)
* [New APIs](#new_apis)
@@ -165,7 +165,7 @@ to see when the List View starts or stops scrolling, respectively.
List View now supports adding multiple markers, which fires the `marker ` event when the user
scrolls to it. Previously, you could only set one marker at a time. For more details, see
-[ListViews: ListView marker event](https://docs.appcelerator.com/platform/latest/#!/guide/ListViews-section-37521650_ListViews-ListViewmarkerEvent).
+[ListViews: ListView marker event](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/ListViews/#listview-marker-event).
### Map Module
@@ -199,7 +199,7 @@ action items to list items. Action items appear when the user swipes left on a l
the user can select an action to perform on the item. Custom action items require iOS 8 and above.
For details, see
-[ListViews: Action Items](https://docs.appcelerator.com/platform/latest/#!/guide/ListViews-section-37521650_ListViews-ActionItems).
+[ListViews: Action Items](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/ListViews/#action-items).
#### Tab
@@ -207,7 +207,7 @@ For details, see
On iOS, the application can set the title color of the active tab or inactive tabs by using the Tab object's
[activeTitleColor](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Tab-property-activeTitleColor)
and [titleColor](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Tab-property-titleColor)
-properties, respectively.
+properties, respectively.
### Region Locale
@@ -281,7 +281,7 @@ The following APIs are new or have expanded platform support in Release 4.1.0.
Modules.Map.createPolygon
method
Creates and returns an instance of Modules.Map.Polygon.
(New API, supported on Android, iPhone and iPad.)
-
+
Modules.Map.createPolyline
method
Creates and returns an instance of Modules.Map.Polyline.
(New API, supported on Android, iPhone and iPad.)
@@ -293,7 +293,7 @@ The following APIs are new or have expanded platform support in Release 4.1.0.
Titanium.Accelerometer
object
The top-level Accelerometer module, used to determine the device's physical position.
(Added support for Windows Phone.)
-
Titanium.Analytics
object
Used for transmitting developer-defined Analytics events to the Appcelerator Analytics product.
+
Titanium.Analytics
object
Used for transmitting developer-defined Analytics events to the Appcelerator Analytics product.
(Added support for Windows Phone.)
Titanium.Analytics.filterEvents
method
Sets a list of events that will not be sent to the analytics server. (New API, supported on Android, iPhone and iPad.)
@@ -302,7 +302,7 @@ The following APIs are new or have expanded platform support in Release 4.1.0.
application at runtime, and for sending or listening for system events.
(Added support for Windows Phone.)
-
Titanium.App.Properties
object
The App Properties module is used for storing application-related data in property/value pairs
+
Titanium.App.Properties
object
The App Properties module is used for storing application-related data in property/value pairs
that persist beyond application sessions and device power cycles.
(Added support for Windows Phone.)
@@ -343,7 +343,7 @@ Returns null if there's an error.
Titanium.Geolocation
object
The top level Geolocation module. The Geolocation module is used for accessing device location based information. (Added support for Windows Phone.)
-
Titanium.Gesture
object
The Gesture module is responsible for high-level device gestures such as orientation changes
+
Titanium.Gesture
object
The Gesture module is responsible for high-level device gestures such as orientation changes
and shake gestures.
(Added support for Windows Phone.)
@@ -376,7 +376,7 @@ and shake gestures.
Titanium.Network.Socket.UDP
object
UDP socket. (New API, supported on Windows Phone.)
-
Titanium.Platform
object
The top-level Platform module. The Platform module is used to access the device's platform-related
+
Titanium.Platform
object
The top-level Platform module. The Platform module is used to access the device's platform-related
functionality.
(Added support for Windows Phone.)
@@ -393,7 +393,7 @@ functionality.
Titanium.UI.ActivityIndicatorStyle
object
A set of constants for the styles available for Titanium.UI.ActivityIndicator objects. (Added support for Windows Phone.)
-
Titanium.UI.AlertDialog
object
An alert dialog is a modal view that includes an optional title, a message and buttons,
+
Titanium.UI.AlertDialog
object
An alert dialog is a modal view that includes an optional title, a message and buttons,
positioned in the middle of the display.
(Added support for Windows Phone.)
@@ -405,7 +405,7 @@ positioned in the middle of the display.
Titanium.UI.EmailDialog
object
An email dialog is a modal window that allows users to compose and send an email.
(Added support for Windows Phone.)
-
Titanium.UI.ImageView
object
A view to display a single image or series of animated images.
+
Titanium.UI.ImageView
object
A view to display a single image or series of animated images.
(Added support for Windows Phone.)
Titanium.UI.Label
object
A text label, with optional background image. (Added support for Windows Phone.)
@@ -453,8 +453,8 @@ in a vertically-scrolling view.
Titanium.UI.Notification
object
A toast notification. (Added support for Windows Phone.)
-
Titanium.UI.OptionDialog
object
An option dialog is a modal view that includes a message and one or more option items positioned
-in the middle of the display on Android and at the bottom edge on iOS. On Android, buttons may
+
Titanium.UI.OptionDialog
object
An option dialog is a modal view that includes a message and one or more option items positioned
+in the middle of the display on Android and at the bottom edge on iOS. On Android, buttons may
be added below the options.
(Added support for Windows Phone.)
@@ -463,7 +463,7 @@ be added below the options.
Titanium.UI.ScrollView
object
A view that contains a horizontally and/or vertically-scrollable region of content.
(Added support for Windows Phone.)
-
Titanium.UI.ScrollableView
object
A view that encapsulates a horizontally-scrolling set of child views, known as pages, navigable
+
Titanium.UI.ScrollableView
object
A view that encapsulates a horizontally-scrolling set of child views, known as pages, navigable
using its built-in horizontal swipe gestures.
(Added support for Windows Phone.)
@@ -500,7 +500,7 @@ using its built-in horizontal swipe gestures.
Titanium.UI.TabGroup
object
A tabbed group of windows. (Added support for Windows Phone.)
-
Titanium.UI.TableView
object
A table view is used to present information, organized in sections and rows, in a
+
Titanium.UI.TableView
object
A table view is used to present information, organized in sections and rows, in a
vertically-scrolling view.
(Added support for Windows Phone.)
@@ -528,7 +528,7 @@ vertically-scrolling view.
Titanium.UI.View
object
An empty drawing surface or container (Added support for Windows Phone.)
-
Titanium.UI.WebView
object
The web view allows you to open an HTML5 based view which can load either local or remote content.
+
Titanium.UI.WebView
object
The web view allows you to open an HTML5 based view which can load either local or remote content.
(Added support for Windows Phone.)
Titanium.UI.Window
object
The Window is an empty drawing surface or container. (Added support for Windows Phone.)
@@ -551,7 +551,7 @@ All properties, methods and events in this namespace will only work on Windows P
Titanium.UI.iOS.ROW_ACTION_STYLE_NORMAL
property
The normal style for RowActionType. (New API, supported on iPhone and iPad.)
-
Titanium.Utils
object
The top-level Utils module, containing a set of JavaScript methods that are often useful when
+
Titanium.Utils
object
The top-level Utils module, containing a set of JavaScript methods that are often useful when
building applications.
(Added support for Windows Phone.)
@@ -588,7 +588,7 @@ Implements the DOM Level 2 API on Android and iOS. Exposes the DOM Level 3 API i
Titanium.XML.EntityReference
object
Represents an XML entity reference.
(Added support for Windows Phone.)
-
Titanium.XML.NamedNodeMap
object
A key-value paired map that maps String objects to Titanium.XML.Node objects.
+
Titanium.XML.NamedNodeMap
object
A key-value paired map that maps String objects to Titanium.XML.Node objects.
Implements the DOM Level 2 API on Android and iOS. Exposes the DOM Level 3 API implementation on Mobile Web.
(Added support for Windows Phone.)
@@ -604,4 +604,3 @@ Implements the DOM Level 2 API on Android and iOS. Exposes the DOM Level 3 API
-
diff --git a/apidoc/Titanium/Calendar/Calendar.yml b/apidoc/Titanium/Calendar/Calendar.yml
index 9fb8a6bd07a..f7db0a7460f 100644
--- a/apidoc/Titanium/Calendar/Calendar.yml
+++ b/apidoc/Titanium/Calendar/Calendar.yml
@@ -8,7 +8,7 @@ description: |
Currently, on Android, calendar permissions must be explicitly configured in `tiapp.xml` in order to access the
calendar. See "Common Requirements" in
- [tiapp.xml and timodule.xml Reference](https://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference).
+ [tiapp.xml and timodule.xml Reference](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_Guide/Appendices/tiapp.xml_and_timodule.xml_Reference.html).
extends: Titanium.Module
platforms: [android, iphone, ipad, macos]
@@ -369,8 +369,8 @@ properties:
summary: Indicates a daily recurrence rule for a events reccurance frequency.
description: |
Used with the property.
-
- One of the group of event "frequency" constants
+
+ One of the group of event "frequency" constants
[RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY),
[RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY),
[RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY),
@@ -384,8 +384,8 @@ properties:
summary: Indicates a weekly recurrence rule for a events reccurance frequency.
description: |
Used with the property.
-
- One of the group of event "frequency" constants
+
+ One of the group of event "frequency" constants
[RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY),
[RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY),
[RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY),
@@ -399,8 +399,8 @@ properties:
summary: Indicates a monthly recurrence rule for a events reccurance frequency.
description: |
Used with the property.
-
- One of the group of event "frequency" constants
+
+ One of the group of event "frequency" constants
[RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY),
[RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY),
[RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY),
@@ -414,8 +414,8 @@ properties:
summary: Indicates a yearly recurrence rule for a events reccurance frequency.
description: |
Used with the property.
-
- One of the group of event "frequency" constants
+
+ One of the group of event "frequency" constants
[RECURRENCEFREQUENCY_DAILY](Titanium.Calendar.RECURRENCEFREQUENCY_DAILY),
[RECURRENCEFREQUENCY_WEEKLY](Titanium.Calendar.RECURRENCEFREQUENCY_WEEKLY),
[RECURRENCEFREQUENCY_MONTHLY](Titanium.Calendar.RECURRENCEFREQUENCY_MONTHLY),
@@ -841,7 +841,7 @@ examples:
Create a picker to allow an existing calendar to be selected and, when a button is clicked,
generate details of all events in that calendar for the current year.
- ``` js
+ ``` js
var calendars = [];
var selectedCalendarName;
var selectedid;
diff --git a/apidoc/Titanium/Contacts/Contacts.yml b/apidoc/Titanium/Contacts/Contacts.yml
index 53beb20b866..f89cdba6195 100644
--- a/apidoc/Titanium/Contacts/Contacts.yml
+++ b/apidoc/Titanium/Contacts/Contacts.yml
@@ -18,7 +18,7 @@ description: |
See the examples for a sample use of the `reload` event.
- If 'ABAddressBookErrorDomain error 0' occurs, it implies that you are not allowed to add or edit
+ If 'ABAddressBookErrorDomain error 0' occurs, it implies that you are not allowed to add or edit
certain fields. Check your default account in the iOS settings under contacts. If it's not 'iCloud',
most likely it will not support fields such as alternateBirthday or socialProfile.
@@ -48,14 +48,14 @@ methods:
parameters:
- name: parameters
summary: |
- Properties to set on a new object, including any in except
+ Properties to set on a new object, including any in except
those marked as non-creation or read-only.
type: Dictionary
optional: true
-
+
- name: createPerson
summary: |
- Creates and returns an instance of , and commits all pending
+ Creates and returns an instance of , and commits all pending
changes to the underlying contacts database.
returns:
type: Titanium.Contacts.Person
@@ -63,26 +63,26 @@ methods:
parameters:
- name: parameters
summary: |
- Properties to set on a new object, including any in except
+ Properties to set on a new object, including any in except
those marked as non-creation or read-only.
type: Dictionary
optional: true
-
+
- name: getAllGroups
summary: Gets all groups.
returns:
type: Array
exclude-platforms: [android]
-
+
- name: getAllPeople
summary: Gets all people, unless a limit is specified.
returns:
- type: Array
+ type: Array
parameters:
- name: limit
summary: Maximum number of people. Android only.
type: Number
-
+
- name: getGroupByID
summary: Gets the group with the specified identifier.
returns:
@@ -98,7 +98,7 @@ methods:
notes: Use the [Titanium.Contacts.getGroupByIdentifier](Titanium.Contacts.getGroupByIdentifier) method instead.
- name: getGroupByIdentifier
- summary: Gets the group with the specified identifier.
+ summary: Gets the group with the specified identifier.
returns:
type: Titanium.Contacts.Group
exclude-platforms: [android]
@@ -107,10 +107,10 @@ methods:
summary: Group identifier.
type: String
since: {iphone: "5.0.0", ipad: "5.0.0", macos: "9.2.0"}
-
+
- name: getPeopleWithName
summary: |
- Gets people with a `firstName`, `middleName` or `lastName` field, or a combination
+ Gets people with a `firstName`, `middleName` or `lastName` field, or a combination
of these fields, that match the specified name.
returns:
type: Array
@@ -118,7 +118,7 @@ methods:
- name: name
summary: Name to match.
type: String
-
+
- name: getPersonByID
summary: Gets the person with the specified identifier.
exclude-platforms: [macos]
@@ -132,7 +132,7 @@ methods:
since: "5.0.0"
removed: "9.0.0"
notes: Use the [Titanium.Contacts.getPersonByIdentifier](Titanium.Contacts.getPersonByIdentifier) method instead.
-
+
- name: getPersonByIdentifier
summary: Gets the person with the specified identifier.
returns:
@@ -141,7 +141,7 @@ methods:
- name: id
summary: Contact identifier.
type: Number
- since: "5.0.0"
+ since: "5.0.0"
osver: {ios: {min: "9.0"}}
- name: removeGroup
@@ -153,45 +153,45 @@ methods:
- name: group
summary: Contact group.
type: Titanium.Contacts.Group
-
+
- name: removePerson
summary: Removes a contact from the address book.
description: |
On iOS:
-
- This method must be followed by a save action to commit the data to the underlying database,
- which can be done explicitly using or implicitly using
- . Although the object will still
- exist once committed, it will no longer be valid. Continuing to use it will result in
+
+ This method must be followed by a save action to commit the data to the underlying database,
+ which can be done explicitly using or implicitly using
+ . Although the object will still
+ exist once committed, it will no longer be valid. Continuing to use it will result in
unpredictable behavior, including crashes.
-
+
On Android:
-
- This method will remove the person from the Contacts book automatically.
+
+ This method will remove the person from the Contacts book automatically.
since: {android: "2.1.0"}
parameters:
- name: person
summary: Contact.
type: Titanium.Contacts.Person
-
+
- name: revert
summary: Reverts all changes made by the previous save to the address book. Deprecated for >= iOS9.
exclude-platforms: [android]
osver: {ios: {max: "8.0"}}
-
+
- name: save
summary: Commits all pending changes to the underlying contacts database.
parameters:
- name: contacts
- summary: List of contacts to save. Used on Android only.
+ summary: List of contacts to save. Used on Android only.
type: Array
since: {android: "3.0.0"}
description: |
On Android:
-
+
Takes an array of objects and saves changes for
the specified contacts only.
-
+
- name: showContacts
summary: Displays a picker that allows a person to be selected.
parameters:
@@ -239,7 +239,7 @@ methods:
description: |
Note that the callback may be synchronous or asynchronous. That is, it may be called
during requestAuthorization or much later. See the "Request access to the address book"
- example on how to best use this method.
+ example on how to best use this method.
since: "2.1.3"
exclude-platforms: [macos]
parameters:
@@ -253,12 +253,12 @@ properties:
description: |
This property need to be set before calling contacts APIs.
From iOS 13 or later if your app fetch note field from contact, the app must have to set key 'com.apple.developer.contacts.notes' to 'true' in entitelements section of tiapp.xml.
-
+
``` xml
com.apple.developer.contacts.notes
```
-
+
See more details at https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_contacts_notes and https://developer.apple.com/contact/request/contact-note-field.
type: Boolean
default: true
@@ -269,49 +269,49 @@ properties:
summary: Specifies that a contact is an organization.
description: |
Used with the property.
-
- One of the group of contact "kind" constants
- [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION),
+
+ One of the group of contact "kind" constants
+ [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION),
and [CONTACTS_KIND_PERSON](Titanium.Contacts.CONTACTS_KIND_PERSON).
type: Number
permission: read-only
-
+
- name: CONTACTS_KIND_PERSON
summary: Specifies that a contact is a person.
- description:
+ description:
Used with the property.
-
- One of the group of contact "kind" constants
- [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION),
+
+ One of the group of contact "kind" constants
+ [CONTACTS_KIND_ORGANIZATION](Titanium.Contacts.CONTACTS_KIND_ORGANIZATION),
and [CONTACTS_KIND_PERSON](Titanium.Contacts.CONTACTS_KIND_PERSON).
type: Number
permission: read-only
-
+
- name: CONTACTS_SORT_FIRST_NAME
summary: Specifies that group members will be sorted by first name.
- description:
+ description:
Used with the method.
-
- One of the group of contact group "sort" constants
- [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME),
+
+ One of the group of contact group "sort" constants
+ [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME),
and [CONTACTS_SORT_LAST_NAME](Titanium.Contacts.CONTACTS_SORT_LAST_NAME).
type: Number
permission: read-only
- name: CONTACTS_SORT_LAST_NAME
summary: Specifies that group members will be sorted by last name.
- description:
+ description:
Used with the method.
-
- One of the group of contact group "sort" constants
- [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME),
+
+ One of the group of contact group "sort" constants
+ [CONTACTS_SORT_FIRST_NAME](Titanium.Contacts.CONTACTS_SORT_FIRST_NAME),
and [CONTACTS_SORT_LAST_NAME](Titanium.Contacts.CONTACTS_SORT_LAST_NAME).
type: Number
permission: read-only
- name: AUTHORIZATION_AUTHORIZED
summary: |
- A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
+ A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
indicating that the application is authorized to use the address book.
description: |
This value is always returned on Android devices, as well as on iOS versions earlier than 6.0.
@@ -321,7 +321,7 @@ properties:
- name: AUTHORIZATION_DENIED
summary: |
- A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
+ A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
indicating that the application is not authorized to use the address book.
type: Number
permission: read-only
@@ -329,7 +329,7 @@ properties:
- name: AUTHORIZATION_RESTRICTED
summary: |
- A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
+ A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
indicating that the application is not authorized to use the address book *and*
the user cannot change this application's status.
type: Number
@@ -343,7 +343,7 @@ properties:
- name: AUTHORIZATION_UNKNOWN
summary: |
- A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
+ A [contactsAuthorization](Titanium.Contacts.contactsAuthorization) value
indicating that the authorization state is unknown.
type: Number
permission: read-only
@@ -353,7 +353,7 @@ properties:
summary: Returns an authorization constant indicating if the application has access to the address book.
description: |
Always returns `AUTHORIZATION_AUTHORIZED` on iOS pre-6.0 and Android devices.
-
+
If `contactsAuthorization` is `AUTHORIZATION_RESTRICTED`, you should not
attempt to re-authorize: this will lead to issues.
type: Number
@@ -383,11 +383,11 @@ examples:
- title: Query Existing System Address Book Records
example: |
Output to the console all properties of all people.
-
+
``` js
var singleValue = [
- 'recordId', 'firstName', 'middleName', 'lastName', 'fullName', 'prefix', 'suffix',
- 'nickname', 'firstPhonetic', 'middlePhonetic', 'lastPhonetic', 'organization',
+ 'recordId', 'firstName', 'middleName', 'lastName', 'fullName', 'prefix', 'suffix',
+ 'nickname', 'firstPhonetic', 'middlePhonetic', 'lastPhonetic', 'organization',
'jobTitle', 'department', 'note', 'birthday', 'created', 'modified', 'kind'
];
var multiValue = [
@@ -409,9 +409,9 @@ examples:
- title: Add New System Address Book Records
example: |
- Create two new records in the system address book. Note that the
+ Create two new records in the system address book. Note that the
object is queried in the same way that it is created (as shown in the previous example.)
-
+
``` js
Ti.API.info('Saving contact...');
Ti.Contacts.createPerson({
@@ -473,11 +473,11 @@ examples:
},
url:{
homepage: ['www.google.com'],
- work: ['www.appcelerator.com', 'www.example.com']
+ work: ['www.titaniumsdk.com', 'www.example.com']
}
});
Ti.API.info('Contact saved');
-
+
Ti.API.info('Saving contact...');
var workAddress1 = {
'CountryCode': 'us',
@@ -487,7 +487,7 @@ examples:
'Country': 'United States',
'ZIP': '94043'
};
-
+
Ti.Contacts.createPerson({
firstName:'Arthur',
lastName:'Evans',
@@ -556,24 +556,24 @@ properties:
summary: Function to call when selection is canceled.
type: Callback