sfm-cordova-plugin
Version:
Add live video streaming to your Cordova Application
39 lines (22 loc) • 1.08 kB
Markdown
# SmartFloMeet Cordova Plugin for Android and iOS
## Sample code
To see the plugin in action, please check out [sfm-cordova-samples.](https://github.com/smarflomeet/One-to-One-Video-Chat-Sample-Cordova-Application)
## Using Cordova CLI
Make sure You have Cordova 3.5.0 or greater installed. If you haven't, take a look at the [Cordova instructions](http://cordova.apache.org/docs/en/3.5.0/guide_cli_index.md.html) Page.
1. Clone this repo to get the source code for the SmartfloMeet Cordova plugin
2. To install the SmartfloMeet Cordova plugin, run the following command in the root of your project:
```
cordova plugin add sfm-cordova-plugin
```
3. To remove sfm Cordova plugin, use the following command:
```
cordova plugin remove sfm-cordova-plugin
```
## Getting Started on your Project:
All your editing will be done in your www folder.
All JavaScript code should be written in `onDeviceReady` function in `/js/index.js` because it is executed after all dependencies has loaded.
```
onDeviceReady: function() {
// Do Your Stuff Here!
}
```