Skip to content

Commit

Permalink
update readme & version
Browse files Browse the repository at this point in the history
  • Loading branch information
msach22 committed Mar 26, 2018
1 parent ea230cf commit 15ec34c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ Make sure You have Cordova 3.5.0 or greater installed. If you haven't, take a lo

2. To install the OpenTok Cordova plugin, run the following command in the root of your project:
```
cordova plugin add https://github.com/opentok/cordova-plugin-opentok/
cordova plugin add cordova-plugin-opentok
```
3. You can remove the existing OpenTok Cordova plugin by running the following command:
3. To remove OpenTok Cordova plugin 3.2.0 and above, use the following command:
```
cordova plugin remove cordova-plugin-opentok
```
4. To remove the old OpenTok Cordova plugin, use the following command:
```
cordova plugin remove com.tokbox.cordova.opentok
```
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-opentok",
"version": "3.2.0",
"version": "3.2.1",
"description": "Add live video streaming to your Cordova Application",
"cordova": {
"id": "cordova-plugin-opentok",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-opentok"
version="3.1.2">
version="3.2.1">

<name>OpenTokCordovaPlugin</name>
<description>Add live video streaming to your Cordova Application</description>
Expand Down
2 changes: 1 addition & 1 deletion src/android/OpenTokAndroidPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ protected Map<String, String> getParams()
JSONObject payload = new JSONObject();
try {
payload.put("platform", "Android");
payload.put("cp_version", "3.1.2");
payload.put("cp_version", "3.2.1");
} catch (JSONException e) {
Log.i(TAG, "Error creating payload json object");
}
Expand Down
2 changes: 1 addition & 1 deletion src/ios/OpenTokPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ -(void)logOT{

NSMutableDictionary *payload = [[NSMutableDictionary alloc]init];
[payload setObject:@"iOS" forKey:@"platform"];
[payload setObject:@"3.1.2" forKey:@"cp_version"];
[payload setObject:@"3.2.1" forKey:@"cp_version"];
NSMutableDictionary *logData = [[NSMutableDictionary alloc]init];
[logData setObject:@"cp_initialize" forKey:@"action"];
[logData setObject:apiKey forKey:@"partner_id"];
Expand Down

0 comments on commit 15ec34c

Please sign in to comment.