4.1.4 • Published 3 years ago

@respondea/cordova-plugin-v-twilio-video v4.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

cordova-plugin-twilio-video

Cordova Plugin for Twilio Video

⚡️ Works with Capacitor.⚡️

Important: This plugin only works on Cordova/Capacitor projects that are using Android with AndroidX. So, if you don't want to have dependency with AndroidX in your Android project for some reason, please use a plugin version earlier than 4.0.

Installation

Cordova project

  • Add this to the 'package.json'

    • In the dependencies section:

      "cordova-plugin-twilio-video": "https://github.com/okode/cordova-plugin-twilio-video"
    • In the cordova plugins section:

        "cordova-plugin-twilio-video": {}

Capacitor project

  • Add this dependency to the 'package.json':
    "cordova-plugin-twilio-video": "https://github.com/okode/cordova-plugin-twilio-video",

API

Usage

The plugin is available in the global scope so it can be invoked like that:

window.twiliovideo.openRoom(token, room)

Methods

Have a look at definitions file where the API is documented.

Troubleshooting guide

Q: I get compilation errors on Android

A: First, check if your project compiles without this plugin. In that case, verify the plugin version you are using on your project because since 4.0 version we just support Cordova/Capacitor projects that are using Android with AndroidX. Below 4.0 version, take into account that this plugin is not compatible with AndroidX as it uses old Android Support Libraries. In that case, to migrate the plugin code to AndroidX, you can do the following:

4.1.4

3 years ago

4.1.3

3 years ago

4.1.2

3 years ago

4.1.1

3 years ago

4.1.0

3 years ago