GA Release of Titanium SDK 7.2.0 & CLI 7.0.4

GDPR Information

With the enactment of European Union’s General Data Protection Regulation (GDPR), we’ve updated our Privacy Policy and the way Axway collects and processes personal information. We welcome this change and understand the importance of data privacy as a human right. We are taking this opportunity to strengthen our global practices, expanding our robust data privacy practices, and will continue to support data privacy compliance.

For more information, please refer to Axway’s Privacy compliance program.

You can contact the Axway Data Protection Office by sending an email to If you’d like to contact us in writing, see the following list of addresses that best applies to your location:

  • USA: Axway Inc, 6811 E. Mayo Blvd, 4th Floor, Phoenix, AZ 85054, USA
  • EMEA: Axway Software, Tour W, 102 Terrasse Boieldieu – 92807 Puteaux Cedex, FRANCE
  • APAC: Axway Australia, Suite 1301, 99 Mount Street, North Sydney, 2060 NSW, AUSTRALIA

Release Information

Today, we published General Availability releases of AMPLIFY™ Titanium SDK and Appcelerator CLI. These are patch releases addressing high priority issues from previous releases. It includes five improvements and one bug fix. For a more detailed overview, known issues and closed tickets, see the release notes:

Notable Features

  • Analytics opt-out runtime API – We’ve added a feature that allows developers to present the option to opt-in or opt-out of analytics at runtime. This feature will allow developers to provide greater control over data privacy to users of their apps.
  • Data privacy improvements for the CLI – We now allow developers to opt-out of the collection of any CLI usage data. To do so, set with the following command:
    [appc] ti config false To opt back in, you can use:
    [appc] ti config --remove
  • Other analytics privacy improvements – We made several updates that improve user privacy. See the release notes for details.

Update Titanium SDK

Studio users will be prompted to update the SDK.

To update the Titanium SDK from the command line:

[appc] ti sdk install latest

Update Appcelerator CLI

Studio users will be prompted to update the CLI.

To update the CLI from the command line:

[sudo] npm install -g appcelerator
appc use latest

Implementation Notes

To guide you through the GDPR compliance process for you app, we have created a 7.2.0 Sample App
that demonstrates the usage of the new `optedOut` property as part of `Ti.Analytics`.

Here is a practical example: Let’s assume you have a `Ti.UI.Switch` instance in your app that controls
whether or not the user should opt out of Analytics. By default, the user is opted-in to Analytics.

// Create a switch, default optOut status = `false`
const mySwitch = Ti.UI.createSwitch({ value: false });

// On change, toggle the opt-out property
mySwitch.addEventListener('change', (event) => {
    Ti.Analytics.optedOut = event.value;

// ... More code ...

// Pro-tip: Validate with `Ti.Analytics.optedOut`. Otherwise, if 
// the user opted out, the event will be skipped silently.
if (!Ti.Analytics.optedOut) {
    Ti.Analytics.featureEvent('i_love_gdpr', { really: true });

External Modules

There are many other components of app development that should become GDPR-compliant as well. Some modules that are
already GDPR compliant:

More Questions?

If you have further questions about how GDPR works in Titanium, feel free tp reach out to us via TiSlack or open a JIRA ticket (see below).

Report bugs

If you run into any issues that seem related to the updates, please report them on JIRA.

First, check if it’s a known issue you can watch. If you can’t find an existing ticket, then create one in the
Appcelerator Community (AC) project and add as much relevant information as you can, including the release version you are using.

You can leave general comments as a reply to this blog post.

Code strong!