Skip to content

hyperloop-modules/titanium-hockeyapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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!

Releases

No releases published

Packages

No packages published