Skip to content

clearbrian/cordova-plugin-twilio-video-seachat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published