Skip to content

urbanairship/titanium-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airship Titanium Module

Titanium module for Airship services. Download the latest release here.

Resources

Requirements

Quickstart

    var Airship = require("ti.airship");

    Airship.takeOff({
      "default": {
        "appKey": Your App Key,
        "appSecret": Your App Secret
      },
    });

For iOS, enable background remote notifications in the tiapp.xml file:

  ...
  <ios>
  <plist>
  <dict>
      ...
       <key>UIBackgroundModes</key>
       <array>
           <string>remote-notification</string>
       </array>
  </dict>
  </plist>
  </ios>
  ...

For Android, add the google-services.json to platform/android/google-services.json.

Accessing the Airship Module

To access this module from JavaScript, you would do the following:

    var Airship = require("ti.airship");

About

Urban Airship Titanium module

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors