Contact Us      Sign Up      Login

To install the Plot plugin into your Appcelerator Titanium app only a couple of small steps have to be performed. Note that this module was developed for Titanium 3.1.3.GA or newer. This plugin supports both iOS and Android.

Step 1: Download The Zip

Once you log in to our dashboard, download the plugin under the “Developer Tools” tab. The plugin can be obtained as a .zip file. Don’t have an account? Sign up for free!

Step 2: Install in Appcelerator Studio

After you have downloaded the .zip for the plugin, you have to install it in Appcelerator Studio using the following steps:

  1. Open Appcelerator Studio.
  2. Expand the project directory in the Project Explorer View.
  3. Drag or copy the .zip to the root of the project.
Step 3: Add Configuration File

Before you can use the plugin, you have to add a configuration file in theassets folder and name the file plotconfig.json. The snippet on the right shows an example of the file. You can find your public token in the dashboard.

{
    "publicToken": "REPLACE_ME",
    "enableOnFirstRun": true
}

Note that if your app also targets iOS, then it is also required to specify why your app requires location services. You do that in yourplist. Add the following lines to tiApp.xml at the ios/plist/dict element:

<key>NSLocationAlwaysUsageDescription</key>
<string>Your location is used to instantly inform you when you are near a location that is interesting to you.</string>
Step 4: Almost done!

The snippet to the right has to be added to one of your scripts used to initialize your application (usually app.js or alloy.js):

var plot = require('com.plotprojects.ti');
plot.initPlot({ notificationFilterEnabled: false });

You are now ready to receive your first notification. For more details, look at the extensive documentation or our Github page.

Sign Up To Download The Plugin!