-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors subscription callback param type. Fix `docgen` script. Update dependencies. Extract version variables in gradle.
- Loading branch information
1 parent
1d4ee21
commit d59f990
Showing
73 changed files
with
5,561 additions
and
2,975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [1.0.0] - 2023-02-10 | ||
|
||
#### Added | ||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# License | ||
|
||
MIT License | ||
|
||
Copyright (c) 2022 HyperTrack | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,51 @@ | ||
# hypertrack-capacitor-plugin | ||
|
||
Capacitor plugin for HyperTrack generation SDKs | ||
# Ionic Capacitor HyperTrack SDK | ||
|
||
## Install global dependencies | ||
```bash | ||
The base requirements are [Node](https://nodejs.org/en/) v8.6.0 or later, and NPM version 5.6.0 or later (which is usually automatically installed with the required version of Node). | ||
 | ||
 | ||
 | ||
 | ||
|
||
npm install -g @capacitor/core @capacitor/cli | ||
``` | ||
[HyperTrack](https://www.hypertrack.com) lets you add live location tracking to your mobile app. Live location is made available along with ongoing activity, tracking controls and tracking outage with reasons. | ||
|
||
Ionic Capacitor HyperTrack SDK is a wrapper around native iOS and Android SDKs that allows to integrate HyperTrack into Ionic Capacitor apps. | ||
|
||
For information about how to get started with Ionic Capacitor HyperTrack SDK, please check this [Guide](https://www.hypertrack.com/docs/install-sdk-ionic-capacitor). | ||
|
||
## Installation | ||
|
||
## Build plugin | ||
[Install from NPM](https://www.npmjs.com/package/hypertrack-sdk-ionic-capacitor) | ||
|
||
```bash | ||
clone the repo [email protected]:hypertrack/sdk-ionic-capacitor.git | ||
cd sdk-ionic-capacitor/ | ||
npm i | ||
npm run verify:android | ||
npm run build | ||
### Android | ||
In order to use this plugin, please add HyperTrack repository in `android/build.gradle`: | ||
|
||
``` | ||
allprojects { | ||
repositories { | ||
google() | ||
jcenter() | ||
maven { | ||
name 'hypertrack' | ||
url 'https://s3-us-west-2.amazonaws.com/m2.hypertrack.com/' | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## Add plugin to Ionic app as a local dependency | ||
## Sample code | ||
|
||
[Quickstart React Native app](https://github.com/hypertrack/quickstart-ionic-capacitor) | ||
|
||
## Wrapper API Documentation | ||
|
||
[Wrapper API Documentation](https://hypertrack.github.io/sdk-ionic-capacitor/) | ||
|
||
## Requirements | ||
|
||
### iOS | ||
|
||
- iOS version 13.0+ | ||
|
||
## Contributing | ||
|
||
```bash | ||
cd ionic-app/ | ||
npm i <local-dir>/sdk-ionic-capacitor | ||
npx cap sync | ||
``` | ||
If you want to contribute check [CONTRIBUTING.md](CONTRIBUTING.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/build | ||
/.idea | ||
/.gradle | ||
local.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.