Appcelerator Users: You Can Now Easily Add New Relic to Your Titanium Studio Apps!

If you’re an Appcelerator user, then we’re sure you’re going to love this! New Relic now fully supports iOS and Android apps built with Appcelerator’s Titanium Studio!  (If you aren’t already using New Relic, sign up for an account today through the Appcelerator Marketplace – all Appcelerator customers get our Standard version for free!)

Getting Started

First, if you are building apps for Android, you will need to upgrade to Titanium Studio 3.1.2.  If you’re building apps only for iOS, you won’t need to upgrade (but you might want to given all the awesome new features.)  To upgrade within Titanium Studio, go to Help > Check for Updates and install the latest version.

Once you’re logged in to your New Relic account, click on Mobile on the left-hand navigation menu, click on Titanium Studio for the platform and then follow the instructions below.

Appcelerator_blog_screenshot Get_started_with_Mobile_Application_Monitoring_-_New_Relic

Installing the New Relic module

  1. Launch Titanium Studio.
  2. Go to the Help Menu > Install Mobile Module.
  3. Copy and paste this address into the “Install from URL” field:
  4. Select “Titanium SDK” for the Output Location.
  5. Click OK.

Add New Relic to your app

  1. For each app you want to add New Relic to, open the “tiapp.xml” file, which should open the TiApp Editor.
  2. Under the Modules section, click the + button.
  3. In the window that pops up, select “ti.newrelic” and click OK.
  4. Add this to the beginning of either the alloy.js file if you have a Titanium Alloy app, or app.js file if you have a Titanium Classic app (replacing “YOUR_APP_TOKEN” with the app token generated for you on the Mobile Monitoring page)


       5.  Run your app.

View your data

  1. Go back to your New Relic Account and click Mobile on the left-hand navigation menu.
  2. You should now see your app – click on it and view your data.
  3. Find out more information about the various dashboards and tools available to you on New Relic at

Now you’re all done! Access all the mobile app performance data you’ve been waiting for, and solve all those problems. Don’t wait — log in, deploy and see data like you never have before on New Relic’s mobile section.'

Ken Kupelian is a nerd and mobile QA engineer at New Relic in Portland, Ore. He started out in the tech industry in 1994 by "installing the Internet" in people's homes while still in high school. He currently enjoys living on the bleeding edge of tech and dabbling with obscure and otherwise forgotten devices or technology. View posts by .

Interested in writing for New Relic Blog? Send us a pitch!