{"id":25650643,"url":"https://github.com/hicsail/ionic-hockeyapp","last_synced_at":"2025-04-15T19:38:54.632Z","repository":{"id":57276015,"uuid":"88204524","full_name":"hicsail/ionic-hockeyapp","owner":"hicsail","description":"Need HockeyApp in your Ionic application, add this package!","archived":false,"fork":false,"pushed_at":"2018-07-13T16:12:33.000Z","size":2861,"stargazers_count":18,"open_issues_count":2,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-29T00:12:54.778Z","etag":null,"topics":["2","3","android","app","cordova","cordova-plugin","cordova-plugin-hockeyapp","hockey","hockeyapp","hockeyapp-plugin","hockeyapp-provider","ionic","ionic-cordova","ionic-framework","ionic-native","ionic-plugin","ionic2","ionic3","ios"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hicsail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-13T20:39:05.000Z","updated_at":"2023-10-21T06:12:14.000Z","dependencies_parsed_at":"2022-09-15T19:12:53.620Z","dependency_job_id":null,"html_url":"https://github.com/hicsail/ionic-hockeyapp","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hicsail%2Fionic-hockeyapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hicsail%2Fionic-hockeyapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hicsail%2Fionic-hockeyapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hicsail%2Fionic-hockeyapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hicsail","download_url":"https://codeload.github.com/hicsail/ionic-hockeyapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248914127,"owners_count":21182360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2","3","android","app","cordova","cordova-plugin","cordova-plugin-hockeyapp","hockey","hockeyapp","hockeyapp-plugin","hockeyapp-provider","ionic","ionic-cordova","ionic-framework","ionic-native","ionic-plugin","ionic2","ionic3","ios"],"created_at":"2025-02-23T15:17:15.812Z","updated_at":"2025-04-15T19:38:54.594Z","avatar_url":"https://github.com/hicsail.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ionic-HockeyApp\n[![npm](https://img.shields.io/npm/v/ionic-hockeyapp.svg)](https://www.npmjs.com/package/ionic-hockeyapp)\n[![npm](https://img.shields.io/npm/dm/ionic-hockeyapp.svg)](https://nodei.co/npm/ionic-hockeyapp/)\n[![npm](https://img.shields.io/npm/dt/ionic-hockeyapp.svg)](https://nodei.co/npm/ionic-hockeyapp/)\n[![license](https://img.shields.io/npm/l/ionic-hockeyapp.svg)](https://github.com/hicsail/ionic-hockeyapp/blob/master/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/hicsail/ionic-hockeyapp.svg?style=social\u0026label=Star)](https://github.com/hicsail/ionic-hockeyapp)\n\nNeed HockeyApp in your Ionic application, add this package!\nThis is an Ionic wrapper of the [cordova-plugin-hockeyapp](https://github.com/bitstadium/HockeySDK-Cordova) to make it easier to add [HockeyApp](http://hockeyapp.net/) into your Ionic application.\n\n\n- [Supported Ionic Platforms](#supported-ionic-platforms)\n- [Getting Started](#getting-started)\n- [How to use](#how-to-use)\n- [Example](#example)\n- [API Reference](#api-reference)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Supported Ionic Platforms\nIonic 2 \u0026 3 are fully supported, the latest version of Ionic that was tested is v3.6.1.\n\n## Getting Started\nStart by creating a [HockeyApp account](http://hockeyapp.net/) and register your app with the service.\n\n### Install the official [HockeyApp plugin](https://github.com/bitstadium/HockeySDK-Cordova) by running this command:\n```bash\nionic cordova plugin add cordova-plugin-hockeyapp@latest\n```\n\n### Install ionic-hockeyapp\n```bash\nnpm install ionic-hockeyapp --save\n```\n\n### Add the HockeyApp provider to [app.module.ts](https://github.com/hicsail/ionic-hockeyapp/blob/master/example/src/app/app.module.ts)\n```ts\nimport { HockeyApp } from 'ionic-hockeyapp';\n\nproviders: [\n  HockeyApp\n]\n```\n\n## How to use\n\nAfter following the Getting Started guide. Import HockeyApp provider into your class and call HockeyApp.\nStart the HockeyApp Service in [app.component.ts](https://github.com/hicsail/ionic-hockeyapp/blob/master/example/src/app/app.component.ts)\n```ts\nimport { HockeyApp } from 'ionic-hockeyapp';\nimport { Platform, App } from 'ionic-angular';\n\nconstructor(..., app:App, hockeyapp:HockeyApp) {\n  platform.ready().then(() =\u003e {\n    // The Android ID of the app as provided by the HockeyApp portal. Can be null if for iOS only.\n    let androidAppId = '9e49aeddaa96488891f0a46b52b27618';\n    // The iOS ID of the app as provided by the HockeyApp portal. Can be null if for android only.\n    let iosAppId = '7ea7b82b9b6e4366a8c8dd57e07b2743';\n    // Specifies whether you would like crash reports to be automatically sent to the HockeyApp server when the end user restarts the app.\n    let autoSendCrashReports = false;\n    // Specifies whether you would like to display the standard dialog when the app is about to crash. This parameter is only relevant on Android.\n    let ignoreCrashDialog = true;\n\n    hockeyapp.start(androidAppId, iosAppId, autoSendCrashReports, ignoreCrashDialog);\n\n    //So app doesn't close when hockey app activities close\n    //This also has a side effect of unable to close the app when on the rootPage and using the back button.\n    //Back button will perform as normal on other pages and pop to the previous page.\n    platform.registerBackButtonAction(() =\u003e {\n      let nav = app.getRootNav();\n      if (nav.canGoBack()) {\n        nav.pop();\n      } else {\n        nav.setRoot(this.rootPage);\n      }\n    });\n  });\n}\n```\n\nAfter starting HockeyApp, import into pages, providers, and components and you are good to go.\n\n```ts\nimport { HockeyApp } from 'ionic-hockeyapp';\n\nconstructor(..., private hockeyApp:HockeyApp) {\n  this.hockeyApp.trackEvent('Hello World');\n}\n```\n\n## Example\nCheck out the example Ionic application in the [example folder](https://github.com/hicsail/ionic-hockeyapp/tree/master/example).\n\nAndroid Screenshot | iOS Screenshot\n:-------------------------:|:-------------------------:\n![android screenshot](https://cloud.githubusercontent.com/assets/864507/25199180/eb55e0f4-2517-11e7-9c34-c720004532eb.png)  |  ![ios screenshot](https://cloud.githubusercontent.com/assets/864507/25199222/0fc8a110-2518-11e7-9d6a-b48cdab500e7.png)\n\n## API Reference\nRead the [Cordova HockeyApp API Reference](https://github.com/bitstadium/HockeySDK-Cordova#api-reference) for official documentation.\n\n## Contributing\nIf you want to make an improvement, please feel free to fork this repo and submit a pull request.\n\nPossible enhancements:\n- Update HockeyApp start command to add Login Mode.\n- Add Unit Tests\n- ~~Make library promise based~~. Added in v0.1.6\n\n\n## License\n\n### MIT License\n\nCopyright (c) 2017 Boston University - Software and Application Innovation Lab\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhicsail%2Fionic-hockeyapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhicsail%2Fionic-hockeyapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhicsail%2Fionic-hockeyapp/lists"}