Coder Social home page Coder Social logo

hyperloop-modules / titanium-hockeyapp Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 3.0 9 KB

Hyperloop-based version of HockeyApp for both Android and iOS

License: Apache License 2.0

JavaScript 100.00%
appcelerator-hyperloop titanium hyperloop native javascript

titanium-hockeyapp's Introduction

Ti.HockeyApp

Hyperloop-based version of HockeyApp for both Android and iOS

Requirements

  • Titanium SDK 5.5.0.GA+
  • Hyperloop 1.2.8+
  • Xcode 8+
  • HockeyApp App ID. One each per platform. (referenced below as "APP_IDENTIFIER_KEY")
  • For Android:
  1. Include the following in /tiapp.xml (replacing "APP_IDENTIFIER_KEY" with your HockeyApp App ID):
<meta-data android:name="net.hockeyapp.android.appIdentifier" android:value="APP_IDENTIFIER_KEY"/>
  1. Download HockeyApp.aar file from HockeyApp and copy into /app/platform/android/ (Latest at the time of this article - https://github.com/bitstadium/HockeySDK-Cordova/tree/master/src/android/HockeySDK-Android )
  • For iOS: include the following in /Podfile (replacing "APP_NAME" with your Titanium App Name):
install! 'cocoapods',
         :integrate_targets => false
 
platform :ios, '8.0'
target 'APP_NAME' do
    pod 'HockeySDK', :subspecs => ['AllFeaturesLib']
end

(Hyperloop/CocoaPods will automatically retrieve the HockeyApp SDK)

Usage

Copy /lib/ti.hockeyapp.js to your /lib folder

Add Module and initialize

var TiHockeyApp = require('ti.hockeyapp');
TiHockeyApp.init("APP_IDENTIFIER_KEY");

Track Events

TiHockeyApp.trackEventWithName("Event_Name");

NOTE: This is the first implementation; there are still several more methods and additional configuration options to yet be implemented.

Author

License

Apache 2.0

Contributing

Thanks to (@hansemannnn) and (@MichaelGangolf) for their assistance!

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

titanium-hockeyapp's People

Contributors

adamtarmstrong avatar hansemannn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.