https://github.com/hyperloop-modules/titanium-hockeyapp
Hyperloop-based version of HockeyApp for both Android and iOS
https://github.com/hyperloop-modules/titanium-hockeyapp
appcelerator-hyperloop hyperloop javascript native titanium
Last synced: 13 days ago
JSON representation
Hyperloop-based version of HockeyApp for both Android and iOS
- Host: GitHub
- URL: https://github.com/hyperloop-modules/titanium-hockeyapp
- Owner: hyperloop-modules
- License: apache-2.0
- Created: 2017-07-20T17:27:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-20T18:42:50.000Z (almost 8 years ago)
- Last Synced: 2025-05-07T14:02:19.062Z (15 days ago)
- Topics: appcelerator-hyperloop, hyperloop, javascript, native, titanium
- Language: JavaScript
- Size: 8.79 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ti.HockeyApp
Hyperloop-based version of HockeyApp for both Android and iOS### Requirements
- [x] Titanium SDK 5.5.0.GA+
- [x] Hyperloop 1.2.8+
- [x] Xcode 8+
- [x] HockeyApp App ID. One each per platform. (referenced below as "APP_IDENTIFIER_KEY")
- [x] For Android:
1. Include the following in /tiapp.xml (replacing "APP_IDENTIFIER_KEY" with your HockeyApp App ID):
```xml```
2. 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 )- [x] For iOS:
include the following in /Podfile (replacing "APP_NAME" with your Titanium App Name):
```javascript
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
```javascript
var TiHockeyApp = require('ti.hockeyapp');
TiHockeyApp.init("APP_IDENTIFIER_KEY");
```#### Track Events
```javascript
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
* Adam Armstrong ([@adamtarmstrong](https://twitter.com/adamtarmstrong))
* Hans Knoechel ([@hansemannnn](https://twitter.com/hansemannnn))### License
Apache 2.0### Contributing
Thanks to ([@hansemannnn](https://twitter.com/hansemannnn)) and ([@MichaelGangolf](https://twitter.com/MichaelGangolf)) for their assistance!Code contributions are greatly appreciated, please submit a new [pull request](https://github.com/hyperloop-modules/ti.hockeyapp/pull/new/master)!