# im-cordova-plugin-konotor

> This plugin allows Konotor SDK to be integrated with cordova/phonegap applications

Latest version **1.0.9** (published 2015-12-11) · Proprietary license · 0 weekly downloads

## Install

```sh
npm install im-cordova-plugin-konotor
pnpm add im-cordova-plugin-konotor
yarn add im-cordova-plugin-konotor
bun add im-cordova-plugin-konotor
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2015-12-11 |
| First published | 2015-12-10 |
| Weekly downloads | 0 |
| License | Proprietary |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Veeru |
| Maintainers | idiotminds |
| Keywords | phonegap, cordova, konotor, ecosystem:cordova, cordova-android, cordova-ios |

## Links

- npm: https://www.npmjs.com/package/im-cordova-plugin-konotor
- Repository: https://github.com/konotor/phonegap-sdk/
- npm.io page: https://npm.io/package/im-cordova-plugin-konotor

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.9 (latest) — 2015-12-11
- 1.0.8 — 2015-12-11
- 1.0.7 — 2015-12-11
- 1.0.6 — 2015-12-11
- 1.0.5 — 2015-12-10
- 1.0.4 — 2015-12-10
- 1.0.3 — 2015-12-10
- 1.0.1 — 2015-12-10
- 1.0.0 — 2015-12-10

## README

# Konotor PhoneGap/Cordova Plugin
### Platform Support

This plugin supports PhoneGap/Cordova apps with version 3.0.0 and above running on iOS and Android.

## Installation
#### Automatic Installation using PhoneGap/Cordova CLI (for iOS and Android)

1 a) Install this plugin using PhoneGap/Cordova CLI:

Cordova 5 and above

     cordova plugin add cordova-plugin-konotor --variable APP_ID="YOUR_APP_ID" --variable APP_KEY="YOUR_APP_KEY"

Others

        phonegap plugin add https://github.com/konotor/phonegap-sdk.git --variable APP_ID="YOUR_APP_ID" --variable APP_KEY="YOUR_APP_KEY"

                                    or

        cordova plugin add  https://github.com/konotor/phonegap-sdk.git --variable APP_ID="YOUR_APP_ID" --variable APP_KEY="YOUR_APP_KEY"

(Note that the Phonegap CLI didn't support --variable before version 3.6.3, so please use the Cordova CLI as shown above in case you're on an older version)

1 b) Alternately, configure for phonegap build in config.xml

    <gap:plugin name="im-cordova-plugin-konotor" source="npm" version="1.0.1">
        <param name="KT_APP_ID" value="YOUR_APP_ID"/>
        <param name="KT_APP_KEY" value="YOUR_APP_KEY"/>
    </gap:plugin>

2. Add this script tag to your index.html:

        <input id="talkToUs" type="button" value="Talk To Us"></input>

3. Add/update your index.js as follows:

   Add the following line in `bindEvents` function

        document.getElementById('talkToUs', addEventListener("click", this.talkToUs));
        
   Add the following line in `onDeviceReady` function

        konotor.init();

   Add a `talkToUs` method

        talkToUs: function() {
            konotor.launchKonotorScreen();
        }

---
_Source: https://npm.io/package/im-cordova-plugin-konotor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
