From b418ba4f3808a6afec60cd34a0d3d0fc741457ae Mon Sep 17 00:00:00 2001 From: enricop89 Date: Tue, 26 May 2020 15:11:52 +0200 Subject: [PATCH 1/3] - change plugin xml to use CocoaPods --- plugin.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 2ea74239..59ee3a7a 100644 --- a/plugin.xml +++ b/plugin.xml @@ -40,7 +40,8 @@ - + + From 9f35f0b1cd51b3c1b4a9b9d9fd734699dde2e88c Mon Sep 17 00:00:00 2001 From: enricop89 Date: Tue, 26 May 2020 15:55:45 +0200 Subject: [PATCH 2/3] - add Opentok dependency from CocoaPods --- plugin.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin.xml b/plugin.xml index 59ee3a7a..e2f2820a 100644 --- a/plugin.xml +++ b/plugin.xml @@ -40,8 +40,6 @@ - - @@ -55,7 +53,7 @@ - + From 499546c7dbd679029036f8e61486c9d3e3ee4c8b Mon Sep 17 00:00:00 2001 From: enricop89 Date: Wed, 27 May 2020 10:32:03 +0200 Subject: [PATCH 3/3] - update SDK version --- build-extras.gradle | 2 +- package-lock.json | 2 +- package.json | 4 ++-- plugin.xml | 2 +- src/android/OpenTokAndroidPlugin.java | 2 +- src/ios/OpenTokPlugin.m | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build-extras.gradle b/build-extras.gradle index a11ad65e..b8c7d523 100644 --- a/build-extras.gradle +++ b/build-extras.gradle @@ -18,5 +18,5 @@ allprojects { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.opentok.android:opentok-android-sdk:2.15.3' + implementation 'com.opentok.android:opentok-android-sdk:2.17.0' } diff --git a/package-lock.json b/package-lock.json index 3ff23f1a..69a9d905 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-opentok", - "version": "3.4.3", + "version": "3.4.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bdcfae82..51a5167a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-opentok", - "version": "3.4.3", + "version": "3.4.4", "description": "Add live video streaming to your Cordova Application", "cordova": { "id": "cordova-plugin-opentok", @@ -11,7 +11,7 @@ ] }, "dependencies": { - "@opentok/client": "2.15.5", + "@opentok/client": "2.17.2", "exec": "^0.2.0", "tar": "^2.0.0" }, diff --git a/plugin.xml b/plugin.xml index e2f2820a..7954ecce 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="3.4.4"> OpenTokCordovaPlugin Add live video streaming to your Cordova Application diff --git a/src/android/OpenTokAndroidPlugin.java b/src/android/OpenTokAndroidPlugin.java index c5be5bad..8031e025 100644 --- a/src/android/OpenTokAndroidPlugin.java +++ b/src/android/OpenTokAndroidPlugin.java @@ -989,7 +989,7 @@ protected Map getParams() params.put("partner_id", apiKey); params.put("payload", payload.toString()); params.put("source", "https://github.com/opentok/cordova-plugin-opentok"); - params.put("build", "2.15.3"); + params.put("build", "2.17.0"); params.put("session_id", sessionId); if (connectionId != null) { params.put("action", "cp_on_connect"); diff --git a/src/ios/OpenTokPlugin.m b/src/ios/OpenTokPlugin.m index 579ac102..97239417 100644 --- a/src/ios/OpenTokPlugin.m +++ b/src/ios/OpenTokPlugin.m @@ -54,10 +54,10 @@ -(void)logOT:(NSString*)connectionId{ NSMutableDictionary *payload = [[NSMutableDictionary alloc]init]; [payload setObject:@"iOS" forKey:@"platform"]; - [payload setObject:@"3.4.3" forKey:@"cp_version"]; + [payload setObject:@"3.4.4" forKey:@"cp_version"]; NSMutableDictionary *logData = [[NSMutableDictionary alloc]init]; [logData setObject:apiKey forKey:@"partner_id"]; - [logData setObject:@"2.15.3" forKey:@"build"]; + [logData setObject:@"2.17.0" forKey:@"build"]; [logData setObject:@"https://github.com/opentok/cordova-plugin-opentok" forKey:@"source"]; [logData setObject:@"info" forKey:@"payload_type"]; [logData setObject:payload forKey:@"payload"];