Skip to content

A library and test app for using the Localytics SDKs inside of Titanium.

License

Notifications You must be signed in to change notification settings

centrevilletech/localytics-hyperloop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localytics-hyperloop Titanium

Localytics Logo

This project provides a helper library called "localytics-hyperloop.js" inside of the lib folder that allows you to take advantage of the Localytics native SDKs inside of your Titanium app. Also includes sample code showing you how to use the methods developed for Localytics using Hyperloop so far.

Features

  • Tag Event
  • Tag Screen
  • Set Profile Attribute
  • Customer Identifier Method Support (for setting email, name, id, etc.)
  • Trigger manual data upload.
  • App Inbox Support for iOS
  • App Inbox Support for Android
  • TODO: Add support for handling incoming push notifications.

Roadmap

The initial version of this project provides enough to use the basics of Localytics on iOS and Android, and also the app inbox on iOS. AppInbox support for Android is planned in the future.

Preparing your environment.

First, make sure you have Titanium SDK "7.1.0.v20180207124118" installed on your system. If you don't have it yet, you can install it by running ti sdk install 7.1.0.v20180207124118.

Second, make sure CocoaPods is installed on your system.

Third, edit "index.js" and make sure you specify your personal Localytics key. You can get this from your Localytics dashboard.

Running the App

Via Appcelerator Studio

  1. Import it via Dashboard if available.

  2. Or import it via File > Import... > Git > Git Repository as New Project with URI:

     https://github.com/centrevilletech/localytics-hyperloop
    
  3. Select a Simulator or Device to build to via Run > Run As.

Via CLI

  1. Clone the repository:

     git clone https://github.com/centrevilletech/localytics-hyperloop
    
  2. To run it with appc run first import it to the platform:

     appc new --import --no-services
    
  3. Build to Simulator or Device:

     [appc run | ti build] -p ios [-T device]
    

Contribution

Code contributions are greatly appreciated, please submit a new pull request!

Legal Stuff

Appcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using our trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.

About

A library and test app for using the Localytics SDKs inside of Titanium.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published