Hyperloop-based version of HockeyApp for both Android and iOS
- 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:
- 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"/>
- 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)
Copy /lib/ti.hockeyapp.js to your /lib folder
var TiHockeyApp = require('ti.hockeyapp');
TiHockeyApp.init("APP_IDENTIFIER_KEY");
TiHockeyApp.trackEventWithName("Event_Name");
NOTE: This is the first implementation; there are still several more methods and additional configuration options to yet be implemented.
- Adam Armstrong (@adamtarmstrong)
- Hans Knoechel (@hansemannnn)
Apache 2.0
Thanks to (@hansemannnn) and (@MichaelGangolf) for their assistance!
Code contributions are greatly appreciated, please submit a new pull request!